Add support for inline JS/CSS with #attached
Problem/MotivationIt looks like someone removed the ability to attach inline JS. No idea why, but I need this and I cannot move this to a library file.Issues:JS cannot attached with 'html_head' as the...
View Articleundocumented #has_garbage_value property of render elements
Seen in a few elements such as core/lib/Drupal/Core/Render/Element/Radios.php, core/lib/Drupal/Core/Render/Element/RenderElement.php, core/lib/Drupal/Core/Render/Element/ImageButton.php, but doesn't...
View ArticleUser reference fields can reference anonymous users even when they are...
When configuring an entity reference field for users, you can choose to disallow anonymous user selection. However, this only works when providing the list of autocomplete values, but is completely...
View ArticleMedia entity is revisionable but doesn't have a revision link template
Problem/MotivationIn #2856363: Path alias changes for draft revisions immediately leak into live site we're looking to add path aliases to non-default revisions. For example when creating a draft...
View ArticleDecimalItem should not use String as its DataDefinition
Decimal field is being serialized as "null" instead of "0.0" when the value is empty. However, in other languages, such as Java or SQL, "null" is not allowed for decimal primitive. This is because...
View ArticleCreate hook_user_merge
I have need to be able to merge two users together in Drupal fairly frequently. It would be handy if Drupal would support this in a standard way. I propose that the user management UI be modified to...
View ArticleConfigImporter has an obtuse error message
When attempting to import faulty configuration the current implementation of the validate() method spits out a generic exception message. The actual class keeps track of more useful error messages, and...
View ArticleAdd custom javascript handler when row of tableDrag is changed
Problem/MotivationIt will be good to have custom handler when user drag row in table with drag handler which we can trigger when table row position is changed.We need to trigger this behavior in our...
View ArticleUnresolved dependency (Version >=8.x-1.2 required)
I getting these error when trying to update other modules through d8 gui.Errors foundUNRESOLVED DEPENDENCY Search API (Version >=8.x-1.2 required) Solr search requires this module and version....
View ArticleUse included configuration file for overriding settings
Drupal includes configuration files in build, e.g. default.settings.php that is always copied to settings.php and is edited to include site settings. At a bare minimum, its always edited for db...
View ArticleAllow for tours to be shown only once
Problem/MotivationThe tour module can be automatically started on page load by adding "?tour=1" to the URI. But in a lot of cases you only want to start the tour module once: the first time the user...
View ArticleMake cache_form $expiry configurable, to mitigate runaway cache_form table
Problem/MotivationBusy sites that use a lot of forms can make a lot of entries in the cache_form table. This is particuarly true of sites using Ubercart, Commerce, or other modules like Fivestar, Ideal...
View ArticleUserMailRequiredValidator fails on new user entities
Problem/MotivationUserMailRequiredValidator fails on new user entities, because it calls ::id() on it and expects a valid entity ID, which at that point does not exist yet. The reason this was never...
View ArticleThere is no way of knowing if a revision is or was a draft / default revision
Problem/MotivationCurrently we determine if a revision is the default by comparing the revision ID. For example CASE base.vid WHEN revision.vid THEN 1 ELSE 0 END AS isDefaultRevision compares the...
View ArticleAdd link to add a new entity in an empty entity list controller table
Posted by xjmThis issue is a followup for #1781372: Add an API for listing (configuration) entities and #1783964: Allow entity types to provide menu items.Problem/MotivationIn Drupal 7, when no...
View ArticleAdd Change record to @deprecated for MigrateCckFieldPluginManagerInterface
Add Change record to @deprecated for MigrateCckFieldPluginManagerInterface.php -- line 12
View ArticleConvert web tests to browser tests for filter module
See #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)
View ArticleName test cases on HtmlTagTest
Problem/MotivationThe test cases on \Drupal\Tests\Core\Render\Element\HtmlTagTest have just a numeric key. Follow up from #2694535: Support rect property and nested render arrays in html_tag for...
View ArticleConvert all Simpletest web tests to BrowserTestBase (or...
Problem/MotivationWe want to get rid of simpletest.module in Drupal 9. We want to prepare the latest Drupal 8 development branch as much as possible before opening the Drupal 9 development branch (see...
View ArticleUse correct class name for EventDispatcherInterface in Events API documentation
The documentation of the Events API in core.api.php makes a reference to \Symfony\Component\EventDispatcher\EventDispatchInterface::dispatch(), but the correct class name of the interface is actually...
View Article