[META] Make Drupal 10/11 compatible with PHP 8.4
Problem/MotivationPHP 8.4 alpha1 released at July 6, 2024, feature freeze and first beta at Aug 15 2024, stable is expected November 21, 2024. Release schedule is https://wiki.php.net/todo/php84...
View Article[meta] Views ajax accesibility review
Problem/MotivationAfter doing accessibility review on a ajax-heavy views project, my a11y review team has run into the following concerns, which prompted me to reopen a discussion about views...
View ArticlePrune permissions matrix upon save
Problem/MotivationIt is currently possible to store redundant permissions whereby custom user roles can be granted a specific user role, and then later the permission granted to the Authenticated user...
View ArticleGDToolkit::load() error: 'iCCP: too many profiles'
Problem/MotivationI'm seeing this error in my Drupal logs that I've been attempting to debug. I can't figure out what is causing it...The error is:Warning: imagecreatefrompng(): gd-png: libpng warning:...
View ArticleAdd Alpha level Experimental Package Manager module
Please DO NOT push to this branch. See How to Help for instructions for working in the contrib module.The latest work for Package Manager is happening in the Automatic Updates Contrib module. There is...
View ArticlePackage manager/ Automatic Updates should disallow composer patches by default
Problem/MotivationSpin-off from #3346707: Add Alpha level Experimental Package Manager module.Automatic updates allows sites to run both AU + composer patches at once.Composer patches is incompatible...
View ArticleStore the file path instead of ID for the navigation logo
Problem/MotivationFollow-up from #3425080: Add a UI option to change or hide the logo on the Toolbar and split from #3436526-68: Adjust custom navigation logo dimensions on upload.The navigation module...
View Article[regression] missing menu active trail since Drupal 9.5.9
Problem/MotivationSince #3277784: copyRawVariables should support default route parameters menu active trail information is missing from menu items under certain circumstances. In my case I've got a...
View ArticleFix issues with Navigation "safe triangle" positioning
Problem/MotivationCurrently we have adapted "safe triangles" in the first level of the hover menu to allow some flexibility for mouse users when moving over to the second level.Background on the basic...
View Article[PP-1] User menu block render array is cached per user
Problem/Motivation@catch:This preview is still user-specific, which undermines having the #lazy_builder since it means the user cache context for the non-placeholdered render array too. I'm not sure we...
View ArticleProvide a NavigationLinkBlock Plugin and use Help as an usage example
Problem/MotivationProviding a Single Link Navigation Block type could be useful for situations where a single item needs to be added to navigation and creating a new menu just for this purpose would be...
View ArticleNavigation shown on prints (landscape only)
Problem/MotivationIf I print a page in admin area in portrait mode it does not show the navigation in prints. If I change the layout to landscape mode, the prints also shows the navigation bar. The...
View ArticleAllow StarterKit forked themes with prefix
Problem/Motivation❯ php public/core/scripts/drupal generate-theme --starterkit galactus --path themes/custom galactus_ta Generating theme galactus_ta (galactus_ta) from galactus starterkit. PHP...
View ArticleAdd a PHPUnit assertion that an entity is valid
Problem/MotivationValidating an entity is non-trivial: $violations = $time_period->validate(); $this->assertEqual(count($violations), 0); If $violations is non-empty, you have to dump() them to...
View ArticleAdd validation constraints to core.extension
Problem/MotivationOver at #1170362: Install profile is disabled for lots of different reasons and core doesn't allow for that, the schema for core.extension:profile is being refined.Once that lands,...
View ArticleUse an enum for user email notification types
Problem/MotivationThe _user_mail_notify() function is responsible for sending out notification emails to users. It has these types of emails:register_admin_created: Welcome message for user created by...
View ArticleSupport the '#multiple' attribute for the email element
Problem/MotivationEmail FAPI element was added without support of multiple attribute. See https://www.drupal.org/project/drupal/issues/1174620#comment-4564144.Currently even if the attribute set...
View ArticleDialog buttons do not inherit accessibility-related attributes
Problem/MotivationWhen creating a modal dialog (e.g., via an AJAX-enabled link), Drupal duplicates any form actions found within the modal content for display in a button pane at the bottom of the...
View ArticleOOP hooks using attributes and event dispatcher
Problem/MotivationFor a very long time we wanted to introduce hooks in some OOP manner. The following goals altogether however have proven elusiveNo magic naming in the implementations.A hook...
View ArticleStyles plugin not allowing any other plugin to alter the class attribute on...
Problem/MotivationThe Styles plugin for ckeditor 5 is breaking any other plugin which is wanting to alter the class attribute on the table element when html filtering is enabled. (this may also be...
View Article