Allow specifying account to switch to when importing default content
Problem/MotivationI'd love to use the new DefaultContent API, however \Drupal\Core\DefaultContent\Importer::importContent doesn't work in my project.We do not have any roles with is_adminWe want to...
View ArticleWebpack compiled 300K JS break core JS aggregation
Problem/MotivationWhen enabling aggregation with the attached JS, we get Uncaught SyntaxError: Identifier 'e' has already been declaredSteps to reproduceNot sure. The unaggregated version looks...
View ArticleReplace Contextual Links BackboneJS usage with VanillaJS equivalent
Problem/MotivationIt was decided that core use of BackboneJS will be replaced with VanillaJS equivalents: #3145958: [META] Re-evaluate use of Backbone.js in coreThis issue's scope to to replace...
View ArticleConvert local absolute menu links to relative to enable access checking &...
ProblemAs it stands, the menu system checks all menu paths pointing to internal links (ie, node/add or user/logout) upon submission to verify: The path exists in the menu system.The user has the proper...
View ArticleExplicitly register template_preprocess callbacks in hook_theme()
Problem/Motivationtemplate_preprocess... functions are very unusual. They are the only thing in modules that's not prefixed by the module.#3495943: Handle module preprocess functions as OOP hooks is...
View ArticleSplit up and refactor system_requirements() into OOP hooks
Problem/MotivationSystem requirements needs refactoring, it does far too much.Steps to reproduceOpen system.installProposed resolutionConvert update and runtime requirement phases to the new:...
View ArticleImageItem::defaultStorageSettings should override display_default
Problem/MotivationThe value is always set to TRUE in \Drupal\file\Plugin\Field\FieldWidget\FileWidget::process (line 411) and causes invalid values from FormState::getValues after calling...
View Article[PLAN] Accessibility review for new Navigation bar
Problem/Motivation This is a Plan/Meta issue that will gather a list of other other issues and does not expect any code/MR.This issue is where we'll start collecting the accessibility issues we find...
View ArticleDo not allow form builder functions to return Response objects
Problem/MotivationCurrently FormBuilder::retrieveForm() examines the result returned by a form builder function. If it is a response, it will send it to the browser and exit. As per #2230121: Remove...
View ArticleHave a way to implement the a preprocess function per each SDC component...
Problem/MotivationI think it could be interesting to allow some data preprocessing (validation, setting default values, etc.) via a preprocess function inside the component's folder.I have not found...
View ArticleAdd dblog-specific permissions to control access to dblog routes
Problem/MotivationWhile creating reports for some of the users on one of the sites I'm currently working on, I realized that they should be reachable from the Reports menu, not the Content menu, which...
View ArticleEvaluate using variable fonts in Olivero
Problem/MotivationI did some performance testing of Drupal CMS recently and noticed that Olivero loads five font files for two font faces, at a total of about 100kb.I think it would be worth...
View ArticlePreload lora-v14-latin-regular
Problem/MotivationOn the Drupal CMS front page lora-v14-latin-regular.woff2 isn't preloaded, so it's flagged by lighthouse as a chained request. Looking at olivero/templates/includes/preload.twig it's...
View ArticleRename hook_ranking (with BC layer)
Problem/MotivationThere is a hook called hook_ranking(), which is invoked in \Drupal\node\Plugin\Search\NodeSearch::getRankings().This is not a great name for a hook. It should be called...
View ArticleFix LongLineDeclaration in KernelTests
Problem/MotivationThe sniff, Drupal.Array.Array.LongLineDeclaration is not enabled.Steps to reproduceProposed resolutionEnable Drupal.Array.Array.LongLineDeclaration for KernelTests tests.There are no...
View ArticleCompatibility with Cache Control Override: is max-age=0 really necessary for...
BigPipeSessionlessStrategy::doProcessPlaceholders() calls BigPipeStrategy::createBigPipeNoJsPlaceholder() which sets max-age to 0 in cache metadata. Thus, with the Cache Control Override module, any...
View Article[meta] Fix Drupal.Array.Array.LongLineDeclaration coding standard
Problem/MotivationThe Drupal.Array.Array.LongLineDeclaration coding standard should be applied to Drupal core.Proposed resolution@xjm suggests in #15:This cleanup is large enough that I think we should...
View Article[meta] Standardize and clean up hook classes in core
Problem/MotivationThe conversion of core to use oop hooks was successful using rector, there are several tasks that need to be done. Please provide suggestions.Steps to reproduceN/AProposed...
View ArticleCombine NodeHooks and NodeHooks1
Problem/MotivationIn #3442009: OOP hooks using attributes and event dispatcher we added NodeHooks.php with a couple of sample hooks. When the remaining procedural hooks were converted in #3483599:...
View ArticleCreate a setProperties config action and disallow SimpleConfigUpdate on...
Problem/Motivation\Drupal\Core\Config\Action\Plugin\ConfigAction\SimpleConfigUpdate::apply() can change config entities. Is this too useful or should we restrict it.Proposed resolution@tbdRemaining...
View Article