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

Toolbar does not work with "nolink" links

View Article


Twig LoaderError after upgrading Twig to 2.15.3

Problem/MotivationAfter upgrading drupal core with composer from 9.4.5 to 9.4.6, admin theme Gin (contrib) based on Claro (core theme) is broken (wsod) while front theme (contrib) is still running....

View Article


Avoid costly lookups of drupal_array_get_nested_value /...

Problem/Motivationdrupal_array_nested_key_exists / drupal_array_get_nested_value is very costly and essentially always traverses the same path within either form_state['input'] / form_state['values']...

View Article

[meta] Deprecate dependency setters and getters on interfaces

Problem/MotivationDuring the Drupal 8 development cycle we have added many setters (and getters) to interfaces in order to inject (and sometimes retrieve) dependencies of the primary classes that...

View Article

Deprecate dependency setters and getters on LanguageNegotiatorInterface

This issue deals with #2494695: [meta] Deprecate dependency setters and getters on interfaces for \Drupal\language\LanguageNegotiatorInterface.

View Article


Performance improvement for importing of project translations

Problem/MotivationCurrently importing of .po files for projects could take unacceptable about of time.Proposed resolutionI have found that problem related to implementation of...

View Article

[meta] Convert assertions involving use of xpath to WebAssert, where possible

Problem/MotivationFrom #3129002: Replace usages of deprecated AssertLegacyTrait::assert():In cases of constructs like $view_link = $this->xpath('//div[@class="messages"]//a[contains(@href, :href)]',...

View Article

Move template_preprocess, _template_preprocess_default_variables into services

Problem/MotivationComing from #2325571-7: Replace _theme() calls by calls to \Drupal::theme()->render() @alexpott suggested moving template_preprocess and _template_preprocess_default_variables into...

View Article


Starterkit theme roadmap

New starterkit theme generator has been added as an experimental new tool in core. The starterkit theme generator allows developers to create a starting point for their theme. The generated theme has...

View Article


Add negated regular expressions for views filters (string and integer)

Problem/MotivationUsecase: There are three nodes with the following titles: foo, bar, drupal. Requirement: Create a view that lists nodes that does not have title foo or bar.Using views string filter...

View Article

HTTP ERROR 500 on views pages

HTTP ERROR 500 on views pagesSome pages with views showing the following error massage : This page isn’t working website.com is currently unable to handle this request. HTTP ERROR 500this error shows...

View Article

ContextDefinition::isSatisfiedBy does not take into account cardinality

Problem/MotivationContextDefinition::isSatisfiedBy does not check if the definition is multi-valued. This can cause an error when checking violations.Steps to reproduceThe following code produces an...

View Article

Image may be NSFW.
Clik here to view.

Display category-related recipes when seeing a recipe full page

Problem/MotivationA common issue site builders face is adding a related content block based on categories. This is doable only with Drupal core, but people assume they will need a contrib module for...

View Article


The $validated flag should be reset if the entity changes

Problem/MotivationIf an entity is validated and before save is called it still might be changed and if this happens the $validated property should be reset because the new changes have not been...

View Article

Create new |value and |label twig filters

Let's create new |value and |label Twig filters for core. Various modules such as Twig Field Value provide this within contrib. QuestionsHow do we handle entity references?Any special conditions for...

View Article


Sub form not passed to BlockPlugin's submit callback

Problem/MotivationIn #2537732: PluginFormInterface must have access to the complete $form_state (introduce SubFormState for embedded forms), the SubFormState class was introduced for BlockPlugin's...

View Article

Follow-up for #3231334: global attributes should result in HTMLRestrictions...

Problem/Motivation⚠️ Discovered while reviewing #3312442: Make ready for ckeditor5, which is updating the ckeditor_bidi module to support CKEditor 5 and provide an automatic upgrade path.<p lang>...

View Article


Add |remove_class twig filter

This is a followup to #3301853: Create twig filters: |add_class, |remove_class, and |set_attribute.In that issue we wanted to add the |remove_class along with the other filters. However, we determined...

View Article

PostCSS Logical not transpiling flow relative properties (e.g. float:...

In #3312481: Update core's browserlist we updated the browserlist database which determines what CSS properties PostCSS will transpile. With this update, Drupal core is not transpiling any logical...

View Article

Create twig filters: |add_class and |set_attribute

This is related to #3301373: Create twig |add_suggestion filterIn conjunction with the |add_suggestion filter, themers typically want to set CSS classes on the field components to maintain proper BEM...

View Article
Browsing all 294952 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>