Use !url placeholder in description string on System, Datetime,...
Problem/MotivationThis is a followup to #2339021: Incorrect call to l() in system_token_info to improve this string for translation.'description' => t('A date in a custom format. See <a...
View ArticleValidation errors applying a recently required recipe without a cache clear
Problem/MotivationA common error recipe users get is that a dependency of the recipe they just required is not known. A cache clear is often required between composer require and recipe...
View ArticleNot able to add to List field with 0 as the first machine name.
Problem/MotivationI have a List (text) field that I ended up, for migration reasons, using the number 0 as the machine name of the first Allowed value. Migration went great. Now, months later, I need...
View Article[PP-1] Improve wording of Navigation requirements regarding Toolbar
Problem/MotivationAs noted by @oily while reviewing #3500632: Convert hook_requirements() that do not interact with install time, the description of the requirements check where both Navigation and...
View ArticleViews pager not working correctly in AJAX view with exposed filters
Problem/MotivationWhen I use Views module and enable pager and use exposed filters, they will not work in case you go to the view page with ?page=[number] query parameter. Steps to reproduceHow to...
View ArticleMove template_preprocess, _template_preprocess_default_variables into services
Problem/MotivationComing from #2325571-7: Replace _theme() calls by calls to \Drupal::theme()->render() @alexpott suggested moving template_preprocess and _template_preprocess_default_variables into...
View ArticleMove helpers out of ajax_forms_test.module and delete the file
Problem/MotivationNow that almost all hooks can be OOP, .module files are only necessary when/ if they contain preprocess functions Steps to reproduceOpen fileProposed resolutionMove functions from the...
View ArticleDrush SDC CSS creation
Problem/MotivationSDC creation with CSS file adds [data-component-id="mytheme:mycomponent"] {} filter to the CSS file, which not documented anywhere.Steps to reproduceRun drush gen sdc, and create...
View ArticleClaro toolbar.theme.css aggregation issue
Problem/MotivationWhen using claro and CSS aggregation, I am forced to set "preprocess" FALSE to the "css/toolbar.theme.css" file using a "hook_library_info_alter". Otherwise some admin pages likes...
View ArticleError "You can only change the parent menu link for the published...
Problem/MotivationMenu problems occur when editing page nodes with a langcode of 'und' (undefined) and using content moderation.The error 'You can only change the parent menu link for the published...
View ArticleCannot set link color in CKEditor5 in Layout Builder
Problem/MotivationCKEditor5 module's off-canvas CSS reset styles override link colors from my theme's ckeditor5-stylesheets stylesheets. This happens, for example, when adding a block with...
View ArticleExplicitly register template_preprocess callbacks in hook_theme()
Problem/Motivationtemplate_preprocess... functions are very unusual. They are the only thing in modules that's not prefixed by the module.#3495943: Handle module preprocess functions as OOP hooks is...
View ArticleWhen saving the administrator role setting no success message is presented
Problem/MotivationWhen using the minimal install profile, no administrator role is created. To manually create an administrator role, you must first add the role, then set the administrator role in...
View ArticleDrupal 10.2.8 to 10.3.6 upgrade removed data key from rest export feed
Problem/MotivationWe had a Rest Export view on one site outputting JSON data which was getting imported into another site via a migration. After upgrading from Drupal Core 10.2.8 to 10.3.6 the import...
View ArticleCan't uncheck "Require summary" and "Summary input"...
Problem/MotivationSorry if this has been discussed before, I used the search engine and I couldn't find any related issue.I started a fresh new D11 instance (11.0.10) and I wanted to use the "Basic...
View ArticleDrupal\Core\Theme\ComponentNegotiator::negotiate uses a lot of memory
Problem/MotivationDrupal\Core\Theme\ComponentNegotiator::negotiateDoing some profiling of Drupal CMS and I see a lot of memory usage from this method.Seems to all be due to...
View ArticleHook ordering across OOP, procedural and with extra types i.e replace...
Problem/MotivationThe ordering of listeners defined by new Hook attributes does not have a modern solution.We needed to preserve hook_module_implements_alter in it's current form to handle all current...
View ArticleRemove remaining instances of the array language construct
Problem/MotivationThere are still instances of " array(" in the core that are not detected by the sniff. Many of these are in strings. These instances should be replaced as far as possible by the short...
View ArticleAllow Package Manager to configure the path to the PHP interpreter used to...
Problem/MotivationDrupal couldn't find composer in the PATH on a shared hosting server. So updates and project browsing didn't work. The reason is that it uses getenv('PATH') to find the path, which...
View Article