Quantcast
Browsing all 294646 articles
Browse latest View live

Add CacheOptionalInterface to more blocks

Problem/Motivation#2232375: Make language switcher block cacheable introduces support for blocks to implement said interface, in that issue just for the language switcher.I think there are a number of...

View Article


[Meta] Bug Smash Initiative monthly triage meta commencing 2025-03-11

Meta for triage credit, please note: you only need to add a comment for one issue that was triaged and closed, not every one.Remember to add the tag 'Bug Smash Initiative' to issues that are triaged.

View Article


#3303126 was fixed, but a todo was not removed.

Problem/MotivationIn #3303126: Make it possible for recipes to prompt for input values a @todo in core/tests/Drupal/FunctionalTests/Core/Recipe/StandardRecipeInstallTest.php should have been removed,...

View Article

Add validation constraints to contact.form.*

Problem/MotivationContact form entity is not yet fully validatable:.vendor/bin/drush config:inspect --filter-keys=contact.form.feedback --detail --list-constraints ➜ 🤖 Analyzing… Legend for Data: ✅❓ →...

View Article

Move the "Field API doc" topic out of field.module

At the top of field.module :/** * @defgroup field Field API * @{ * Attaches custom data fields to Drupal entities. * * The Field API allows custom data fields to be attached to Drupal entities... *...

View Article


Replace $settings['cache'] with container parameters.

View Article

Remove hook_TYPE_load call from DrupalDefaultEntityController::attachLoad()

DrupalDefaultEntityController::attachLoad automatically calls hook_TYPE_load which is not even documented and I think it has been deprecated, but it is still used in this function. Since we have...

View Article

Fix 404 handling without clean URLs

When clean urls are enabled, non-existant pages are rewritten to www.site.com/?q=non/existant. The menu handler will throw a 404 on the non-existant Drupal path.However, if clean urls are not active,...

View Article


Inversion and Ternary Operations

While looking over the code base I see many examples of this type of code$var = !$condition ? 'if condition is false' : 'if condition is true'; I think this should have the negation removed.It helps...

View Article


Change form element access bypass default to FALSE on programmatic submissions.

Problem/MotivationIn #2174443: Add security hardening protection option for programmatic form submission, a form-attribute is added to forms allowing programmatic form submissions...

View Article

Show entities without a language undefined in the default views.

Problem/MotivationCurrently for example the frontpage view shows just nodes of the current language, which is fine, unless you have entities which don't have a defined language, which could for example...

View Article

Remove BaseFieldDefinition::setPropertyConstraints()

Follow-up from #2110345-85: Simplify validation constraint implementations for fields

View Article

D8: List field extension

I'd like to see CCK list fields extended into a multi-value array, with the option to display any column, thus:Key | Value1 | Value2 | Value3... Then I would have the choice to display either (a) the...

View Article


Allow content creators to preview exactly how content will appear on the site...

Problem/Motivation#1510544: Allow to preview content in an actual live environment greatly improved Drupal's content preview ability.However, as pointed out in #1510544-131: Allow to preview content in...

View Article

\Drupal\Core\Field\Plugin\Field\FieldType\PasswordItem can save an unhashed...

Problem/MotivationIf you set an existing user's password to a string which is trimmable to an empty string, for example '' then this will be saved unhashed to the password value. At this point the...

View Article


Improve autocomplete renderItem() docs

add 2 properties docs, same as https://api.jqueryui.com/autocomplete/#method-_renderItem

View Article

AVIF conversion with WEBP fallback

Problem/MotivationNot all servers support converting to AVIF, so we can't use it as a default format for image styles in install profiles.Steps to reproduceHave a server that doesn't support AVIFUse...

View Article


Translation outdated field on views doesn't hide if the site is...

Problem/MotivationWith a multi-site setup (but shared config) where at least 1 site is multilingual, if you add the language + if the translation is outdated to the /admin/content view, the language...

View Article

Standardize hook_module_preinstall to use $is_syncing parameter instead of...

Problem/MotivationIn #2914174: Improve hook_install() to include recommendations for config import and pass an $is_syncing argument $is_syncing parameters were introduced to hook_install,...

View Article

Support category field in Views RssFields row plugin

The RSS format has the tag for an item: https://validator.w3.org/feed/docs/rss2.html#ltcategorygtSubelementOfLti...Only the fields selected in the RssFields plugin settings form are rendered. So...

View Article
Browsing all 294646 articles
Browse latest View live


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