Quantcast
Channel: Issues for Drupal core
Browsing all 295647 articles
Browse latest View live
↧

Invalid Configuration when using a layout supplied by a theme

Problem/MotivationWhen I use field-layout module and configure it to use a layout that is provided by a theme, the resulting configuration is unusable. This is because the in the corresponding...

View Article


Disable layouts for entity views and entity forms by default

Problem/MotivationWhen adding layout_discovery to an existing project it defaults all layouts to layout_onecol which can wreak havoc on existing layouts since it overrides the custom templates for all...

View Article


Ability to enable/disable layout per display

Problem/MotivationWhen you enable the field_layout module, the $build structure (renderable array representing the entity) changes. This affects the ability to render specific field in twig templates....

View Article

[PP-1] Investigate alternative approaches to moving fields in...

Problem/Motivation#2796173: Add experimental Field Layout module to allow entity view/form modes to switch between layouts allows for rearranging fields on entity form and entity view. Entity forms use...

View Article

Field layout module should fail gracefully whey layout plugin is missing

Problem/MotivationSteps to reproduce:Do not start with the patch applied!Enable the Field Layout moduleGo to /admin/structure/types/manage/article/display and select the "Two Column" layoutApply the...

View Article


Edit hook_help text for Field Layout module

Problem/MotivationThe help text of the Field Layout module does not quite follow the Help text standards as described in https://www.drupal.org/help-text-standards. It misses a section to describe the...

View Article

Activating Field Layout changes the menu form order

Problem/MotivationOn a plain vanilla Drupal 8.7 or 9.5 with the standard profile, no other contrib modules. When going to the main menu add link page (/admin/structure/menu/manage/main/add) the fields...

View Article

Document the Field Layout functionality in the hook_help text

Problem/MotivationThe hook_help text, displayed on the Help page for the Field Layout module, only has a very brief about section. All functionality should be described under Uses, following the Help...

View Article


PHP notice "Undefined index: region" on layout overrides when using...

Layout Builder emits an "undefined index" PHP notice when overriding a bundle layout for an individual entity.Steps to reproduce:Enable both Layout builder and Field layout modules.Go to the "Manage...

View Article


Allow placing inline blocks into the Entity Form Field Layout configuration

Problem/MotivationThe module provides placement of the entity fields into the Layout Builder section, that is great! But usually forms require putting some additional blocks between Drupal Fields,...

View Article

Use avif with webp fallback for all core image styles

Problem/Motivation#3510582: AVIF conversion with WEBP fallback added an AVIF image effect with configurable fallback.Core already ships with webp, but we can change this to AVIF with a webp fallback to...

View Article

[PP-2] Use form element of type date instead textfield when selecting a date...

Problem/MotivationWhen adding a datetime exposed filter I cannot simply select a date - I have to manually enter a date which is very bad UX.Proposed resolutionUse a form element with '#type' =>...

View Article

Document and exclude some additional hooks.

Problem/MotivationWhile reviewing #3520416: Convert function_exists() to is_callable() one by one I have found a couple more hooks that need exclusion. hook_update_dependencies cannot be oop, but we...

View Article


Convert function_exists() to is_callable()

Problem/MotivationFrom the originating issue #1002080: [Policy, no patch] Normalize on usage of is_callable() instead of function_exists()Instead of using function_exists() to verify if a callback...

View Article

Explore converting Install and Theme hook implementations to OOP

Problem/MotivationOOP hooks are coming. Install hooks are particularly problematic. Ghost of Drupal Past has a POC for adding the...

View Article


Create enums for RequirementSeverity and deprecate...

Problem/MotivationSplit out from #2909472: [PP-1] Add value objects to represent the return of hook_requirements we should create enums for RequirementSeverity as a first step. We can deprecate...

View Article

`\Drupal\layout_builder\Section::setComponent` should verify the region in...

Problem/Motivation\Drupal\layout_builder\Section::setComponent should verify the region in that layout existsSteps to reproduceProgramatically/via config actions, you can set/append/insert a component...

View Article


Deleted menus are not removed from content type config

Problem/MotivationIf you create a menu, enable it on a content type, then remove it, the menu is not removed from the content type's config.Steps to reproduceInstall DrupalCreate a new menuEdit the...

View Article

Load menu links for multiple routes

Problem/MotivationThis is a follow-up issue to #1578832: <front> menu links are missing active trail classes.Fixing the other issue introduced a performance penalty for the front page because an...

View Article

Warning: Undefined array key "id" in...

Problem/MotivationSince switching my Drupal 9.4.5 instance to PHP 8.1, I have this warning when sharing nodes via content moderation. Warning: Undefined array key "id" in...

View Article
Browsing all 295647 articles
Browse latest View live