Allow Quick Edit to work when a field is placed more than once within the...
Problem/MotivationField UI only allows each field to be placed once. Layout Builder UI will allow any field to be placed any number of times.This is incompatible with QuickEditProposed...
View Articlehook_validation_constraint_alter() example code
Problem/MotivationIn the function hook_validation_constraint_alter(array &$definitions) { $definitions['Null']['class'] = '\Drupal\mymodule\Validator\Constraints\MyClass'; } "\Validator\" should be...
View ArticleAdd documentation for taxonomy terms source plugins
Problem/MotivationFollowing the example of #2937989: Support multiple node types in node source plugins we'd like to add documentation and examples to migration source plugins, so they're easier to...
View ArticleAutocomplete input in views exposed filters does not align with select and...
Problem/MotivationThe autocomplete element does not align in views exposed forms:Steps to reproduceInstall Standard profileExpose 'field_tags' on /admin/contentProposed resolutionAlign the filters by...
View ArticleLog messages won't appear translated if they have special characters in...
I haven't tested this, but @hgoto has done some equivalent testing on a Drupal 7 patch that would have done what Drupal 8 does now (see #2459339: Log messages should be XSS filtered on display) and the...
View ArticleFix 'Drupal.Commenting.HookComment' coding standard
Follow-up to #2572649: Fix 'Drupal.Commenting.HookComment' coding standardThis was not really fixed... there is well over 100+ in core... :( and they have not been introduced since. Maybe the sniff has...
View ArticleImprove usage of 'pager.manager' service in PagerSelectExtender,...
Problem/MotivationAll pagers get a unique element ID by default (in execute()), but this ID is never revealed to the user, so it cannot be used when displaying the pager with$page[] = array( '#theme'...
View ArticleTheme library override can fail in when you have multiple parent themes
Problem/MotivationWhen you have a complex setup of a couple of themes that are inheriting each other, something like:theme_1 <- theme_2 <- theme_3 <- client_themewhere theme_1 is the starting...
View ArticleContentEntity source plugin shouldn't throw exception when the bundle...
Problem/MotivationThe ContentEntity source plugin throws an exception when it is configured to use a bundleable entity as source, but the bundle source configuration cannot match an existing bundle....
View ArticleFix Drupal.Commenting.FunctionComment.InvalidNoReturn
This is a part of the attempt to fix #2572645: [plan] Fix 'Drupal.Commenting.FunctionComment' coding standardThis issue is created to tackle the sub-sniffDrupal.Commenting.FunctionComment.InvalidNoReturn
View ArticleContent translation overview should add destination query parameter
Problem/MotivationIt would be helpful when you're on the translation overview to return to the overview after adding or editing the translation. This matches what we do for content listings.Proposed...
View ArticleForward compatibility layer for InputBag
Problem/MotivationSymfony 5.2 introduces InputBag, which replaces ParameterBag in some places. The main change is that ::all() can take an...
View ArticleError running config import "Call to a member function delete() on null...
Follow up https://www.drupal.org/forum/support/post-installation/2019-07-31/error-...
View ArticleThe ViewsPluginAnnotationBase does not need to implement the AnnotationInterface
Problem/MotivationThe Drupal\views\Annotation\ViewsPluginAnnotationBase does not need to implement the AnnotationInterface. The class extends the class Drupal\Component\Annotation\Plugin which already...
View ArticleNon-exposed and exposed sorts cause issues with the default sort order
Problem/MotivationSo the issue started when I added a non-exposed sort as the first sort out of three. The other two sorts are exposed, which looks something like this:Enabled: boolean ASC...
View ArticleUnable to access views inside hook_cron
Problem/MotivationWhen trying to access a view result from inside hook_cron, no result is returned.Steps to reproduceThe following code runs fine within hook_form_alter but not within hook_cron:$view =...
View ArticleDialog resize issue
Problem/MotivationDiscovered an issue in Claro (in Drupal 9.1) when you try to resize a dialog. The dialog would disappear. I also tested this on 8.9.10 and there the problem seems not to exist.Steps...
View ArticleCannot update database because 'module is too old'
Problem/MotivationUpgraded core to 9.0.5, which went well but, When executing database update, I receive the messageThe installed version of the <em class="placeholder">Responsive...
View ArticleMy site goes down overnight on PHP 7.4 Drupal 8.9.9 on CPANEL 92.0.10
There are two issues: #1 My site goes down overnight on PHP 7.4 Drupal 8.9.9 on CPANEL 92.0.10 #2 I am unable to manually update to Drupal CoreIssue #2: I have just updated my PHP to 7.4. I have tried...
View ArticleWorkaround for "Call to a member function getLabel() after enabling...
Original report by adubovskoyExisting drupal 8 site (upgraded from 8.2.x to 8.3, 8.4, 8.5). Current version 8.5.5 . If I enable layout_builder, then:Error: Call to a member function getLabel() on null...
View Article