Decouple from Symfony CMF
Problem/MotivationWe have Symfony CMF as a dependency, but we only really use three things from it:RouteEnhancerInterface RouteFilterInterfaceAlso the ROUTE_NAME and ROUTE_OBJECT constants from...
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 Article[meta] Replace Symfony's classloader as it does not exist in Symfony 4
Problem/MotivationSymfony 4 has removed the classloader, in favour of using Composer's. This means that all the non-APCu classloaders (xcache etc.) will be gone, with no replacement and we need to find...
View ArticleAllow module services to specify hooks
ProblemThe only remaining code in .module files is hook implementations. Despite the benefit of proper namespaces in D8, the procedural function names of hook implementations can clash.module | hook |...
View Article[meta] PHP dependency re-assessments
Problem/MotivationWe adopted a lot of third-party PHP dependencies during Drupal 8's cycle, some of them are going better than others.There are some common issues:1. Support cycles (and PHP version...
View ArticleThe view entity type did not specify a list_builder handler after clearing...
Problem/MotivationI have Drupal 8.4.3 installed along with a lot of other modules. When clearing the caches via the UI (specifically routing and links cache or plugin cache - others are okay), or one...
View ArticleConvert path aliases to full featured entities
Problem/MotivationPath aliases are currently represented as arrays. While this works OK it also comes with certain limitations. It is harder to document and extend. It is also prone to...
View ArticleReplace jQuery UI autocomplete with awesomplete
Before going any further, know this: Much of the work on this task took place here: #2346973: Improve usability and accessibility of long select lists. It eventually became apparent that this needed...
View ArticleDecide when to remove updates and tests for older Drupal 8 minor releases
Problem/MotivationCurrently, we have update functions going back to 8.0.0-rc1, including lots and lots of update tests as well as database dumps.We currently have 75 classes that contain "extends...
View ArticleImprove link text
Problem/MotivationThe available update report (at admin/reports/updates has links which are impossible to understand on their own. We can improve these for accessibility, to satisfy WCAG 2.4.9 Link...
View ArticleSpelling errors in Nightwatch drupalCreateUser command.
The patch attached fixes two spelling errors in the drupalCreateUser Nightwatch command.
View ArticleHuge integer on views pager LIMIT causes mysql error
Problem/MotivationWhen tampering with the page parameter for a view and setting it to a huge size, a mysql error occurs:Syntax error or access violation: 1064 You have an error in your SQL syntax;...
View ArticleImplement a generic revision access API
Problem/MotivationAt present we don't have a generic entity API for determining revision support for operations such as:viewdeletereverteditNode module defines the following permissions:delete all...
View ArticleURL query string is broken on render
I'm having a strange issue with a specific URL placed in a menu. The URL I'm trying to use as a menu item is:https://virginiajobs.peopleadmin.com/postings/search?utf8=%E2%9C%93&quer...When I create...
View ArticleOptionsWidgetBase should use WidgetInterface::massageFormValues()
... instead of massaging values in a validateElement() #validate callback
View ArticleAllow disabling the Inline Form Errors summary
Problem/MotivationIn certain cases we want to disable duplicate messages (on top - summary - and inline). We currently have the #error_no_message property which allowed us to disable errors messages...
View ArticleInstalling a module causes translations to be overwritten
Problem/MotivationI was having a weird problem in a WebTestBase test that I am using to generate screenshots in Hungarian for the translation of the User Guide, and I traced it down to a weird bug that...
View ArticleoEmbed system doesn't work if thumbnail url does not have a file extension
Problem/MotivationI am trying using our instance of Kaltura Mediaspace as an oEmbed provider. I'm using hook_oembed_providers_alter() from https://www.drupal.org/project/drupal/issues/3008119 to add...
View ArticleList of missing APIs
Let's collect a list of information we don't expose yet, but might be helpful to build a partially decoupled admin UI:A list of all permissions #2947605: Add a user permissions resourceLinkA list of...
View ArticleOff-canvas style creates illegible drop-down menu in autocomplete fields
Problem/MotivationAdding an autocomplete field to an area styled by off-canvas.form.css causes illegible text due to inadequate contrast. Present using Firefox Quantum 69.0 (64-bit) and Google Chrome...
View Article