Add a helper function: now()
Problem/MotivationWhenever I need to save a date+time programmatically, I write$now = (new \Drupal\Core\Datetime\DrupalDateTime('now', new \DateTimeZone('UTC')))->format('Y-m-d\TH:i:s'); # or $now =...
View ArticleChange automatic body field creation to use formatted text field instead of...
Problem/Motivation#3447617: Stop automatic storage creation of body field will not make it in by the Starshot release, so we need to consider what is the least disruptive in the meantime.Proposed...
View ArticleStop automatic storage creation of body field
Problem/MotivationThere's a discussion at #3427095: [Meta] Deprecate text_with_summary about actions to remove autocreation of text_summary fields. This has come up again looking at Starshot.In this...
View ArticleProvide a Config Action to add a component in a layout
Problem/MotivationThere is currently no way to add or alter components in a layout via a recipe. We should have a config action that allows recipe to add or edit components in a layout. Proposed...
View ArticlePHPUnit tests: Support form actions being outside of a form
Problem/MotivationGin has a new feature to display all form items in a sticky bar which resides outside of the actual <form>. This is natively support by HTML but will fail regular functional...
View ArticleProvide Config Action to add new blocks to navigation from recipes
Problem/MotivationNavigation needs to provide a simple way to add new blocks programmatically.This issue aims to provide these config actions that would allow to integrate Navigation with recipes.Steps...
View ArticleAdd the notion of a 'configured layout builder block' to solve a...
Problem/MotivationThere are currently a number of pain points with Layout Builder and how it interacts with the block plugin system as follows:without layout builder restrictions module the default...
View Article[policy, no patch] All new Drupal 10 code should use appropriate type hints...
Problem/MotivationAs per #1158720-69: Improve text for parameter type hinting in function declaration this issue proposes that all new Drupal 9 code should use scalar typehints and return typehints...
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 ArticleCorrectly link output of CSS linting (stylelint) on GitLab
Problem/MotivationFollow-up from #3467309: Replace abandoned, not working with latest stylelint, leon0399/stylelint-formatter-gitlab with gitlab-formatters/stylelint-formatter-gitlabI think the output...
View ArticleUpdate postcss* to latest releases
Problem/MotivationUpdate all postcss-related javascript dependencies to their latest releases.Steps to reproduce$ yarn upgrade-interactiveProposed resolution? Pick the packages you want to upgrade....
View ArticleRemove default colon behind inline labels
Problem/MotivationThe formatter adds a default colon behind the inline label, as example in in date fields. This is bad practice. In some languages, like Greek, colon is not even used. If people want...
View Articletwig callable attribute syntax error
After an update i got :twig\Error\SyntaxError: An exception has been thrown during the compilation of a template ("Attribute "twig_callable" does not exist for Node...
View ArticleAdd an icon management API
Problem/MotivationIn coreThere are at least 141 icons in Drupal Core, living in many...
View ArticleSet entity schema installation, module configuration installation and content...
Problem/MotivationSome the kerneltests install entity schema's, install module configuration and create content. MongoDB is a bit stricter in the order of execution those actions. For MongoDB first the...
View Articledatetime_range throwing error in datetime_range_entity_view_display_presave()
Problem/MotivationEncountering following error: Warning: Trying to access array offset on value of type null in datetime_range_entity_view_display_presave() (line 57 of...
View ArticleUpgrade twig/twig to 3.15.0
Problem/MotivationThere's new release which breaks lots of tests https://github.com/twigphp/Twig/blob/v3.15.0/CHANGELOGSteps to reproduceUpgrade and run testsProposed resolutionUpgrade and fix...
View ArticleThe "<varying words>" plugin does not exist
Problem/MotivationI am using Drupal 10.2.5 and PHP 8.3.6 on Ubuntu 22.04.My website suddenly no longer displays properly since last night and only displays the following...
View ArticleThe site slogan doesn't show with Olivero
Problem/MotivationWith Olivero, if a slogan is set and the branding block is configured to show the slogan, the slogan should be displayed on the branding block. But it's not.Steps to reproduce1....
View ArticleThrow an understandable exception when there is an attempt to load config...
There is no validation of encoding on any of the configuration object types, which throws unhandled exception.Problem/MotivationConfiguration system handles look up of objects defined in Drupal....
View Article