Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YSP-690: Deprecation of parameters with default values order #774

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

dblanken-yale
Copy link
Contributor

YSP-690: Deprecation of parameters with default values order

We had a $cachable which was not even in the signature of options_allowed_values, yet we were passing something in that then wasn't even being used. This lets it match the signature found at:

https://api.drupal.org/api/drupal/core%21modules%21options%21options.module/function/options_allowed_values/10

Description of work

  • Removes $cachable reference as we weren't using it anyway and it's not in the D10 signature

Functional testing steps:

  • Load the site
  • Verify you do not see the deprecation at the top of the page on first load

We had a $cachable which was not even in the signature of
options_allowed_values, yet we were passing something in that then
wasn't even being used.  This lets it match the signature found at:

https://api.drupal.org/api/drupal/core%21modules%21options%21options.module/function/options_allowed_values/10
@dblanken-yale dblanken-yale self-assigned this Sep 30, 2024
@dblanken-yale dblanken-yale requested a review from a team as a code owner September 30, 2024 20:46
@dblanken-yale dblanken-yale changed the title fix(YSP-690): fix parameter deprecation YSP-690: Deprecation of parameters with default values order Sep 30, 2024
Copy link

Visit Site

Created multidev environment pr-774 for yalesites-platform.

@dblanken-yale dblanken-yale merged commit 307aebf into develop Oct 1, 2024
3 checks passed
@dblanken-yale dblanken-yale deleted the YSP-690-options-allowed-values-deprecation branch October 1, 2024 12:31
@yalesites yalesites mentioned this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants