Label change does not update machine name automatically when creating new...
Problem/MotivationWhen adding a new search page at /admin/config/search/pages, the "Label" field is used to auto-fill the machine name. However, if a user changes the label after the initial autofill,...
View Article"Unpack" patches from a recipes composer.json to the root...
Problem/MotivationSome recipes will eventually require some kind of patch to work completely, either core or a contrib module level patch. Right now applying a recipe does not apply its patches, nor...
View ArticleRethink #[Hook] attribute inheritance
Problem/MotivationThe #[Hook] attribute is used to mark a method as a hook implementations.In #3495943: Handle module preprocess functions as OOP hooks and #3479141: Implement FormAlter attribute we...
View ArticleEntityFieldManager::getFieldMap() doesn't show bundle fields
Problem/MotivationI add some bundle specific fields via hook_entity_bundle_field_info as should be controlled in code rather than config, but the entity type belongs to another module. However,...
View ArticleAllow field types to control how properties are mapped to and from storage
Updated: Comment #41Problem/Motivation- Mapping field item properties to DB storage record is hardcoded in \Drupal\Core\Entity\Sql\SqlContentEntityStorage. - It contains special cases for the serialize...
View ArticleAllow multiple target entity types in the 'entity_autocomplete'...
Problem/Motivation#1959806: Provide a generic 'entity_autocomplete' Form API element introduced a generic 'entity_autocomplete' Form API element. But it hardcodes a single entity type. While linking,...
View ArticleUse Composer API in...
Problem/Motivation\Drupal\Composer\Plugin\RecipeUnpack\Plugin::unpackOnRequire() uses a backtrace and closures to reach into Composer's installer object. This approach is copied from Symfony Flex - see...
View ArticleComplete and clarify SDC documentation
Problem/MotivationWhen helping people with SDC, doing my consultancy job, on Drupal slack, or in contrib issues, I see a lot of confusion and struggle with the components slots, especially related to...
View ArticleViews text area plugin does not declare a dependency on the text format it uses
Problem/MotivationThis was uncovered by #2916898: Do not use basic_html text format for 'No log messages available.' message.If you add a custom text with a text format to a views area (for example the...
View ArticleRuntimeException when trying to add a new language
Problem/MotivationI am well aware that it is not possible to add a new language while you are switched to for example the stage workspace - i just had to look up and test something. but the problem is...
View ArticleAdd next and previous buttons to database log entry pages
Problem/MotivationWhen using the database log for debugging, sometimes it would be useful to be able to quickly jump to the next or previous record.Steps to reproduceProposed resolutionAdd...
View ArticleDeprecate TestDiscovery test file scanning, use PHPUnit API instead
Problem/MotivationDrupal is using its own code to discover tests to be executed, which along time lead to discrepancies in the tests executed betwen PHPUnit CLI and run-tests.sh.PHPUnit 10 (Feb 2023)...
View ArticleAllow altering of the language fallback for path aliases
Problem/MotivationFollowing is the current language fallback logic used in the path.alias_repository service: // Always get the language-specific alias before the language-neutral one. // For example...
View ArticleContentEntityDenormalizer uses the field map, and so is unaware of bundle fields
Problem/MotivationThe EntityFieldManager's field map is not aware of bundle fields declared in code -- this is a longstanding core bug #3045509: EntityFieldManager::getFieldMap() doesn't show bundle...
View ArticleTidy up and tighten deprecation skips
Problem/MotivationWe skip a number of deprecations in .deprecation-ignore.txt but some of these are outdated or could be tightened up.For example:%The...
View ArticleUninstall deprecated Actions UI removes Administrator role
My 10.4.7 drupal shows in status:Deprecated modules installed Deprecated modules found: Actions UI.There is this contributed module https://www.drupal.org/project/action but it's not covered by...
View ArticleDrop $method parameter from Preprocess and FormAlter attributes, allow only...
Problem/MotivationThe #[Hook] attribute can be used on classes and methods. When used on class level, it can either specify a method name, or it will apply to the __invoke() method.There is hardly ever...
View ArticleDisabled update module shouldn't produce a status report warning
On the status report, if you have uninstalled the Update module you will get a big scary warning:Update notifications are not enabled. It is highly recommended that you enable the Update Manager...
View ArticleCannot translate paragraph entity (in entity_embed in ckeditor5)
Problem/MotivationI'm trying to Edit a paragraph type and end up getting an error Call to a member function isTranslatable() on null in...
View ArticleDrupal Current theme condition plugin should provide an option to match all...
Problem/MotivationCurrently, it is not possible to exclude the "current_theme" condition from evaluation. Though the select list with themes is not marked as required, the user is always bound to...
View Article