Quantcast
Browsing all 295562 articles
Browse latest View live

Add methods to manage enforced dependencies

In #2224581: Delete forum data on uninstall we're adding the ability to enforce configuration entity dependencies. This issue will add methods to add and remove enforced dependencies. It will also...

View Article


PDO always returns values as strings

Problem/MotivationWhile working on #2251343: Json utility class serializes numeric values to incorrect data type we have detected that if we prepare the statement, the field column type is correct....

View Article


Should empty area plugins be executed in a feed display?

Problem/MotivationdiscussProposed resolutiondiscussRemaining tasksdiscussUser interface changesdiscussAPI changesdiscuss

View Article

Make it possible to transfer contents of backend services

Problem/MotivationI am trying to switch path storage backends. This is impossible as there is no way to figure out what the backend contains.Proposed resolutionThis actually is a special case which...

View Article

Refactor / split up \Drupal\Core\Site\Settings singleton, and introduce other...

As part of #2354475: [meta] Refactor the installer, (multi)site management, and pre-container bootstrap, we want to get rid of all or most of the singletons (, and a lot of the procedural code with...

View Article


Programatically access field settings

I was looking for a way to get field settings programatically.Here is my code:/* @var $field_item \Drupal\Core\Field\FieldItemBase */ // The line below causes fatal error "Call to protected method". //...

View Article

Add ConfigSchemaChecker to development.services.yml

Problem/MotivationWe have a nice ConfigSchemaChecker in core which we use for testing. We do not enable it by default (i.e. "on production") for performance reasons and because schema violations are...

View Article

If nothing selected: Call to a member function uuid() on null in...

Problem/MotivationWhen a user clicks on "Insert selected" in the media library browser (e.g. within Ckeditor5) without selecting any media, the widget closes, and after the next page refresh, there is...

View Article


Add validation constraints to file.settings config

Problem/MotivationChild of #2952037: [meta] Add constraints to all simple configuration - let's add validation constraints the config schema of file.settings so that it can be fully...

View Article


Introduce a @return-type-will-be-added annotation to indicate return type...

Problem/MotivationIn #3470913: Ensure getWidth()/getHeigth always return ?int we are using the issue to try and introduce a process to signal a native return type will be added to interface methods in...

View Article

field.storage.*.*: indexes validation uses "ignore" type therefor...

Problem/MotivationSplit of the parent issue:field.schema.ymlfield.storage.*.*: mapping: ... indexes: type: sequence label: 'Indexes' # @todo Constraints — but shockingly this A) uses `type: ignore`, B)...

View Article

askHidden prompt fails with "Unknown named parameter $default"

Problem/MotivationTrying my first recipe with an input and tried to use the prompt type "askHidden", which is listed as supported in \Drupal\Core\Recipe\Recipe and in...

View Article

Node access table can be left in inconsistent state if...

Problem/Motivationnode_access_rebuild() clears the node access table, then rebuilds it. We had an issue were node_access_rebuild() was called during directly during a deploy script, and failed to...

View Article


Deprecated function: dirname(): Passing null to parameter #1 ($path) of type...

Problem/Motivationafter upgrade to php 8.1 with core 9.3.7 i've got the following error due to deprecated null input valueDeprecated function: dirname(): Passing null to parameter #1 ($path) of type...

View Article

Replace \Drupal:: with $this->container->get() in test classes that...

Problem/Motivation The test classes in the Basic Auth module are using static calls to \Drupal::, which does not follow Drupal's recommended dependency injection practices. This makes the code less...

View Article


Accessibility language switch block: role="navigation"

Problem/MotivationAfter an accessibility audit by an authority on Accessibility (www.Anysurfer.be) it has become clear that role="navigation" should be removed from language switcher blocks.The comment...

View Article

drupal/core-php-storage should use restrictive file permissions

Problem/MotivationWe shouldn't allow open-access to the compiled php container. Previously we'd had strict permissions on the sites/default/files/php folder. Now it is getting 777 permissions.Proposed...

View Article


The calculated machine is not synced when the source value is defined and the...

Problem/MotivationThe calculated machine is not synced when the source value is defined and the machine name is empty.Steps to reproduceEnable the form_test testing module.Visit /form-test/machine-name...

View Article

Is there a typo in the Russian transliteration table?

Problem/MotivationComparing #357254: Transliteration of Russian letters to #2932249: Incorrect transliteration of some Russian Cyrillic characters there is a change: "shch" became "sch". I suspect this...

View Article

Provide option to disable password recovery by e-mail

Problem/MotivationWhen using an external authentication system (such as LDAP) it is reasonable that system administrators would like to disable password recovery feature, since Drupal is not handling...

View Article
Browsing all 295562 articles
Browse latest View live


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