Restore documentation on variable arguments in...
Problem/MotivationIn #3029500: Drupal\Core\Database\Query\Select::hasAllTags() and hasAnyTag() will require a new "$tags" argument in the next major version of its parent class we are removing...
View Articlesearch_index isn't an option for content preview
Problem/Motivation#1510544: Allow to preview content in an actual live environment added the the ability to preview content which is an invaluable tool to both site developers and content creators. In...
View ArticleFix DrupalPractice.Objects.GlobalFunction in tests
Problem/MotivationPart of the work to enable DrupalPractice.Objects.GlobalFunctionSteps to reproduceProposed resolutionEnable sniff for tests <include-pattern>*/tests/*</include-pattern>...
View ArticleAdd array return to all hook_theme_suggestions_HOOK implementations
Problem/MotivationSee #3483037: [META] Add return types to hook implementationsSteps to reproduceProposed resolutionAdd return type to these...
View ArticleMissing NULL in hook_file_download() return documentation
Problem/Motivation * @return string[]|int * If the user does not have permission to access the file, return -1. If the * user has permission, return an array with the appropriate headers. If the * file...
View Articledatetime_range throwing error in datetime_range_entity_view_display_presave()
Problem/MotivationEncountering following error: Warning: Trying to access array offset on value of type null in datetime_range_entity_view_display_presave() (line 57 of...
View ArticleDelete items from field data and field revision tables should be done in bulk
Problem/MotivationDeleting 100M content entities is slow.Steps to reproduce1. Create 100M content entities on an entity with 100 fields 2. Delete all the content entities 3. Look at query log and see...
View ArticleConfirmFormInterface::getFormName() serves no purpose in ConfirmFormBase
Problem/MotivationConfirmFormInterface::getFormName() is only called by ConfirmFormBase. The return value, a string, is used to build a hidden form element: $form[$this->getFormName()] = ['#type'...
View Article"Content language and translation" form doesn't save...
Problem/MotivationI'm using a drupal 10.1.1 site that migrated from drupal 7, then 9Submitting the "Content language and translation" form (ContentLanguageSettingsForm) does not save the "Custom...
View ArticleAdd return type to hook_file_download implementations
Problem/MotivationSee #3483037: [META] Add return types to hook implementationsThis is the last group of hooks in Hook classes to be updated.Steps to reproducegrep "fileDownload\\\\.* has no return"...
View ArticleSDC ComponentElement: Transform slots TranslatableMarkup values to #markup...
Problem/MotivationThis can be seen as a follow-up for #3391702On that issue, it was proposed that #slots were made more resilient and forgiving by accepting non-scalar values.Another common Drupalism...
View ArticleThe default revision can not be reverted (to) when there are pending revisions
Problem/MotivationFollowup for #3323788: Revert and Delete actions should not be available for the current revision.When an entity has pending revisions (e.g. by making changes in a workspace), you can...
View ArticleFix DrupalPractice.Objects.GlobalFunction in modules
Problem/MotivationPart of the work to enable DrupalPractice.Objects.GlobalFunctionSteps to reproduceProposed resolutionEnable sniff for modules, but not tests or Hooks.Remaining tasksUser interface...
View ArticleRegression: RssResponseCdata filtering out common HTML tags from RSS feeds
Problem/MotivationAfter upgrading to Drupal 10.4.0, I found that our RSS feed doesn't render div, img, and style tags. Doing so breaks our RSS email structurally (div) and visually (img and...
View ArticleAdd void return to @ingroup entity_crud hook implementations
Problem/MotivationSee #3483037: [META] Add return types to hook implementationsAlmost all entity_crud hooks return void, except hook_entity_preloadSteps to reproduceProposed resolutionAdd void return...
View ArticleNavigationContentLinks should use the internal routes instead of views when...
Problem/MotivationNavigation's NavigationContentLinks class provides some default menu links to improve the out of the box administrator experience.Some of these links are tied to core's views, hence...
View ArticleImprove the error message thrown in PoStreamReader::readLine() when...
Problem/MotivationWhen a Drupal site does not have their translations folder correctly set up, a confusing error occurs when a new module is enabled:$ drush en honeypot > [notice] Checked fr...
View ArticleEntity queries querying the latest revision very slow with lots of revisions
After upgrading to 8.4 we noticed a performance decrease on one of our sites. The page that is taking minutes to load is a multilanguage page with several field collections and revisions enabled.Some...
View ArticleTwig Debug output shows in Group By title if grouping term has a label
If Twig Debug is active and I have a Group By field in my view, if I have a label, it shows the Twig Debug output. If I remove the label, it displays as expected.Without a labelWith a label------I feel...
View Article