hook_requirements() doesn't say that severity is optional, or what the...
Problem/MotivationAPI page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...Some implementations of this don't return a severity level:...
View ArticleAdd array return to all *_info hook implementations
Problem/MotivationSee #3483037: [META] Add return types to hook implementationsAll info hooks should return array, except hook_config_translation_info which takes the $info param as a reference.Steps...
View Articleincorrect docs for MenuLinkFieldDefinitions
Problem/MotivationMenuLinkFieldDefinitions says:> * Provides base field definitions for an entity type.This is wrong. The docs on the $defaults property are correct.Steps to reproduceProposed...
View ArticleImprove documentation of MenuLinkTreeInterface
Problem/MotivationMenuLinkTreeInterface::load() does not do any sorting or access checks, as might be expected. This should be better documented.When loading a menu, for example using:$tree =...
View Article[PP1] Move the Edit buttonoutside the more actions drop down
Problem/MotivationWe moved the local tasks into the "More actions" drops-down as they are. The problem is that the main action to edit the content is hidden behind a the More actions drop down.Proposed...
View ArticleDraggableListBuilder needs to document its expectations
Problem/MotivationThe DraggableListBuilder class is meant to be used to make entity lists, but it requires things which aren't immediately clear.So far, that seems to be just this one:- the entity type...
View ArticleResolve PHPStan-Strict errors: class.nameCase
Problem/MotivationFix a bunch of errors reported by PHPStan Strict with all rules disabled, i.e, the "miscellaneous" errors before we can consider introducing strict.Most of the things identified will...
View ArticleHelp link always appears in navigation
Problem/MotivationThe 'Help' link is defined in navigation.block_layout.yml, meaning it appears in the sidebar regardless of whether the module is installed.Steps to reproduceInstall Drupal with the...
View ArticleURL is not trimmed when there is a space at the end of it
Problem/MotivationI have an entity with a "Link" field. This field is shown in a form with "Link (with attributes)" widget. If I try to create a new entity, or update an existing one, and in this field...
View Article"Where" is a protected property
API page: https://api.drupal.org/api/drupal/core%21modules%21views%21views.api.php...In the example code we have $query->where but "where" cannot be used in a hook_views_query_alter because it's a...
View ArticleView mode teaser for field_tags missing
Problem/MotivationI'm missing a CSS selector for field_tags in teaser mode..node--view-mode-teaser .field--tags { margin-block-start: var(--sp4); margin-block-end: var(--sp1); padding-block:...
View ArticleRespect form display weights in form preview
Problem When creating a new form (through Contact Forms), the user can define the form display and view display. Both are working fine when viewing a form or a submission (using the Contact Messages...
View ArticleUpdate module can get 'stuck' with 'no releases available'
Problem/MotivationI don't have great steps to reproduce this yet, but it's something like the following: - update module can end up with items in the fetchTasks key/value store without equivalent queue...
View ArticleRemove duplication from FileTestForm and FileTestSaveUploadFromForm
Problem/MotivationFollow-up from #3221793: Move file upload validation from file.module to constraint validatorscore/modules/file/tests/file_test/src/Form/FileTestForm.php...
View ArticleEnsure tests don't run twice
Problem/MotivationReported by @berdir in slack.=Drupal\KernelTests\Core\Plugin\DefaultPluginManagerTest shows up in both kernel test group 3/4 and...
View ArticleStatementPrefetchIterator::fetchField fails silently if the column index is...
Problem/MotivationFound while working on #3488467: [PP-1] Introduce a StatementBase abstract class.Steps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI...
View Article[PP1] Show entity information on the Top Bar
Problem/Motivationto work on this when #3484564: Define the 3 areas the Top Bar will provide is done. When accessing the edit form or the full mode of an entity, some extra context would be helpful for...
View ArticleInconsistent switch case syntax
Problem/MotivationNearly every switch statement in Drupal core uses the standard syntax of case followed by a colon. However, there are 14 instances where a case statement uses the alternate syntax of...
View ArticleCKE5 validator false negative on wildcard elements ("the following...
Problem/MotivationWhen adding the "elements" to a CKE5 plugin definition, you might want to use a wildcard to, for example, whitelist a set of classes on all HTML elements:my_plugin: ckeditor5:...
View ArticleStatus report confuses null email with duplicate email
Problem/MotivationThe status report now contains a check for duplicate email address and reports them with the heading "Conflicting user emails". However, accounts may be created without an email, i.e....
View Article