Make composer installer paths consistent between drupal/drupal and the...
Problem/MotivationIn the root composer.json file for drupal/drupal, there is a copy of the installer paths configuration for composer/installers:"installer-paths": { "core": ["type:drupal-core"],...
View ArticleStop generating align-* classes for preview in DrupalMedia CKEditor plugin
Problem/MotivationSee #2994696-214: Render embedded media items in CKEditor, patch review point 2:🤔 In #25, this used to be more abstract: // Allow entity_embed.editor.css to respond to changes (for...
View ArticleReplace jQuery UI sortable with Sortable js
Problem/MotivationWe are in the process of deprecating jQuery UI in core. The jQueryUI sortable library is among the components that need to be removed/replaced. As mentioned in the parent issue:...
View ArticleAdd a \JsonApiResource\Relationship object to carry relationship data,...
Problem/MotivationThe issue is about adding a Relationship value object to wrap/replace entity reference fields within JSON:API. Having this abstraction is valuable because, unlike an entity reference...
View ArticleResourceTypes should know about their fields
Problem/MotivationResource types don't have a uniform API to extract information about their fields. That information is scattered across different services like:Resource Type: contains the information...
View Articlehtaccess functions should be a service
Problem/MotivationAs part of the general clean-up of the File API, file_save_htaccess() and file_ensure_htaccess() need to be deprecated and moved into services.Proposed ResolutionCreate a new service...
View ArticleDoctrine no longer supports SimpleAnnotationReader, incorporate a solution...
Follow-up to #2421451: Drupal needs comments in opcacheProblem/MotivationSimpleAnnotationReader loads classes while parsing them. This puts more things in the opcache than we would like.Doctrine has...
View ArticleMove search_index() and related functions to a service
Problem/Motivationsearch.module contains a number of procedural functions that can be moved to a OOP service.This...
View Article[meta] Modernize File/StreamWrapper API
ObjectiveStatus: Incomplete— This is just a first proposal.Since PHP 5.4, stream wrappers have matured significantly; our entire Drupal-specific StreamWrapperInterface is most likely obsolete. (cf....
View ArticleConvert file_create_url() & file_url_transform_relative() to service,...
Problem/Motivationfile_create_url() got no love at all during the D8 cycle.Consequently, it's:still proceduralcalls \Drupal::service()four times, and uses a globalis not unit testableAdditionally, in...
View ArticleShowing taxonomy value in default language only after using in contextual...
Issue: Create a view page filter with any content type e.g. article. Create relationship with taxonomy category and add a contextual filter as term id. Select default value type as Term id from url Add...
View ArticleUploaded files are impossible to replace
Problem/Motivation(/admin/content/files allows only to browse the files.There seems to be no way in Drupal to overwrite a file, and keeping the same filename. Deleting the file and replacing it with a...
View ArticleAdd theme function for form labels in JavaScript
Problem/Motivation#3024975: Add Drupal JavaScript theme function for checkbox added theme function for rendering markup for checkboxes. Drupal.behaviors.MediaLibrarySelectAll also needs to render a...
View ArticleAdd Claro administration theme to core
Problem/MotivationDrupal's admin UI (the Seven theme) feels outdated and needs a visual update. The current designs were created for Drupal 7 in 2008-2009 and were slightly updated for Drupal 8. At the...
View ArticleAutocomplete doesn't trigger `formUpdated`
Problem/MotivationThe formUpdated event isn't triggered when selecting an option from the autocomplete suggestion list. This problem only exists when using the selection dropdown, while typing in the...
View ArticleDeprecate drupal_process_states()
Problem/MotivationDeprecate drupal_process_states() as part of #2999721: [META] Deprecate the legacy include files .Proposed resolutionAdd a new public static method...
View Article[D7] #states api "required" state incorrectly adds...
This bug must have been filed before, but I searched and couldn't find it. This is a different bug from #1592688: #states can cause the form "required" mark to appear more than once on the same...
View ArticleDeprecate system_check_directory()
system_check_directory() is only used in one place in core, in locale_form_system_file_system_settings_alter(), but its loaded on every request.Let's deprecated it.
View ArticleRemove TestSetupTrait::$originalProfile and test infrastructure which uses it
Problem/MotivationWhat is TestSetupTrait::$originalProfile for?It is only ever set by TestBase::prepareEnvironment() before the test is run. This is presumably so that it can be restored after the test...
View Article