Create an 'options' FAPI element
Apologies if this is a duplicate... Based upon the work done by quickstetch's options_element project, I created a patch for D7. This patch adds a new form element, 'options', and a host of helper...
View ArticleRename #type => "actions" / EntityFormController::actions to...
While reviewing #1920686-1: Deleting a menu gives fatal error + the delete button is shown on system menu's. I was confused by protected function actions() was for. The PHPDoc on...
View ArticleAdd debug methods in dbtng to print readable SQL for debug
As the title says: I sometimes want to print out the SQL produced by a dynamic query for debug. However, what I get is a huge string that I need to paste into a text editor and manually add linebreaks...
View ArticleAllow other modules to alter field formatter settings in views fields
Problem/MotivationThis is a followup issue for #945524: Field formatter settings hooks in core.Currently it is not possible to allow other modules to alter the field formatter settings in views fields....
View ArticleImprove dependency handling in service destructor
Follow-up of #1891980: Add Service termination API to reliable terminate/shut down services in the containerRight now, we have no dependency detection during service destruction.Services that need...
View ArticleRefactor Core Node Access Tests to not only test for denies, also test for...
Follow up for 1. in #1658846-187: Add language support to node access grants and recordsProblem/MotivationMissing test coverage for grants. We only have tests for denies.Proposed resolutionAdd more...
View ArticleAdd a test for a hook implementation that defines a langcode but language...
Follow up for 4. in #1658846-187: Add language support to node access grants and recordsProblem/MotivationIf some hook implementation defines a langcode, but language is off or the language is not...
View ArticleDeprecate system_check_directory()
Problem/Motivationsystem_check_directory() is only used in one place in core, in locale_form_system_file_system_settings_alter(), but its loaded on every...
View ArticleRefine field descriptions
Problem/MotivationThis issue is a follow-up for #3356894: Make field selection less overwhelming by introducing groups to refine the newly added field descriptions if wanted. Steps to reproduceProposed...
View ArticleDrupal Usability Meeting 2025-01-17
This meeting takes place every Friday at 14:00 UTC (currently 6:00am PT, 9:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...
View ArticleBaseline missingType.iterableValue PHPStan errors
Problem/MotivationWe are currently ignoring missingType.iterableValue PHPStan errors.Proposed resolutionMove the errors to the PHPStan baseline so they can be addressed and new code be...
View ArticleNarrow boolean return types
Problem/MotivationThe return type of \Drupal\Core\File\FileSystemInterface::tempnam has wrong type * @return string|bool * The new temporary filename, or FALSE on failure.Proposed resolutionChange it...
View ArticleAdd media reference to the same field type group as file and image
Problem/MotivationWhile discussing #3370326: Refine field descriptions at #3498619: Drupal Usability Meeting 2025-01-17, we agreed that the Media option should be part of the same group as File and...
View ArticleA jQuery polyfill for event.which is not same as original code
Problem/MotivationThe event.which is changed since jQuery 3.6.0 and a polyfill is created on #3211601: [backport] Update jQuery to version 3.6.0. In the removal original jQuery code, a button value is...
View Article[pp-3] Convert hook_requirements to new class or hook_update_requirements or...
Problem/MotivationMany hook_requirements implementations have dependencies that are not explicit, and are difficult to test due to a lack of dependency injection.Postponed on:Create...
View ArticleCannot remove media on field, when there is a custom validation error
Problem/MotivationI cannot remove media from media_library widget when creating/editing a node, when the field has an errorDrupal code 8.9.8, PHP 7.3Steps to reproduceI have a field that is media...
View ArticleMedia library remove button triggers field constraint validation
Problem/MotivationWe have the following use case:NodeField "Media"Constraint (that checks for a value in media entity)The constraint gets the media entity and checks for a given field value. If this...
View ArticleAdd "Table class" option to views table formatter UI
Problem/MotivationThe Drupal 7 contrib version of the Views module provided an option for the table style to add CSS classes to the table element itself via the UI. This feature was not implemented...
View ArticleAllow modules to ALSO hook into top of footer section of new core navigation
Problem/MotivationThe scope of #3463142: Allow modules to hook into top of content section of new core navigation has narrowed to focus on the top section of content, but I still feel...
View ArticleRace conditions in CacheCollector/State (again)
Problem/Motivation#3438424: [random test failures] Race condition in state when individual keys are set with an empty cache attempted to fix a race condition with the State usage of CacheCollector by...
View Article