Inline documentation for `EntityResource::loadEntitiesWithAccess()` is...
Problem/MotivationThere is inline documentation in EntityResource that states ::loadEntitiesWithAccess() returns an array with values keyed 'entity' and 'access'. This is a relic of JSON:API of days...
View ArticleIgnore sites directory in PHPStan
Problem/MotivationDiscovered in #3260401: Google is abandoning FLoC - so remove the header, in a full PHPStan run we only consider the core and composer directories: paths: - . - ../composer But if...
View ArticleRefactor (if feasible) uses of the jQuery ready function to use VanillaJS
Problem/MotivationAs mentioned in the parent issue #3238306: [META] Where possible, refactor existing jQuery uses to vanillaJS to reduce jQuery footprint, we are working towards reducing our jQuery...
View ArticlePHP upgrade error: Undefined array key "id" in...
Problem/MotivationWe recently upgrade to PHP 8.1 over our drupal site Drupal core 9.4.8, we saw this error at display catalog page Warning: Undefined array key "id" in...
View Articletabledrag should have it's own column in views tables
In views: Because the tabledrag is inserted into the row cell, the Title headers do not align with its content when showing the tabledrag Suggested solution, the tabledrag should be placed in it's own...
View ArticleDrupal Usability Meeting 2022-11-25
This meeting takes place every Friday at 14:00 UTC (currently 7:00am PT, 10:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...
View ArticleFix views plugins PHPStan L0 issues
Problem/MotivationPHPStan baseline is currently skipping multiple Call to an undefined method errors.Proposed resolutionFix views plugins errors, clean up the baseline.
View ArticleSubdirectory multisite links generate incorrectly from cache
What are the steps required to reproduce the bug?1. User has a series of subdirectory multisites. For the purpose of this example, we...
View ArticleCall Drupal.attachBehaviors on async script load
Hi there,Problem/MotivationWhen we add the attribute { async : true } in a js libraries, the script tag resulting in HTML source get the async attribute. That is very helpfull to optimize pageload...
View ArticleUse the builder pattern to make it easier to create render arrays
Problem/MotivationSince Drupal 8 we've done some work to remove 'magic array keys'. But we still have render arrays, which every time you use them cause you to need to look-up the allowed keys. This is...
View ArticleInconsistent breadcrumb navigation in custom block library
Description to reproduce the issue as follows:Going to Custom Block Library -> Block types (admin/structure/block/block-content/types)Now selecting “Manage Fields”You are getting hereNow if you...
View ArticleDrupal Usability Meeting 2022-11-18
This meeting takes place every Friday at 14:00 UTC (currently 7:00am PT, 10:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...
View ArticleAllow AJAX to use GET requests
Problem summaryAJAX requests are always made using POST, which disables render caching.However most AJAX requests could be cached safely, and the POST requirement has been due to the large amount of...
View ArticleChange file validation order
Problem/MotivationWhen I upload an image whose file size is greater than the allowed one, I get the The image was resized to fit within the maximum allowed dimensions of 85x85 pixels. message and an...
View ArticleInvalid PostCSS causes invalid CSS within new off-canvas CSS
Within the new PostCSS for the off-canvas dialog, we neglected to include an ampersand (&) within a nested PostCSS block (see...
View ArticleAnonymous, file_managed form element and private file path
Problem/MotivationAnonymous user are able to fill a form which contains a custom "file_managed" form element. This element uploads files in a private location for security reason.i.e:$form['files'] = [...
View ArticleActions reordering on views bulk forms
Problem/Motivation(original report motivation)The default action on /admin/content is "Delete selected content". It's really easy to push "Apply" button by mistake, thinking it will apply the filter,...
View ArticleBundle restrictions from a route do not apply to revisionable entities
Problem/Motivation#3155568: Filter by bundle in EntityConverter route param converter introduced bundle specific routes. However, this check does not work for revisionable entities such as node.Steps...
View Article[Ignore] test issue
Problem/MotivationThis issue only for testing purposes. Please ignore this.Steps to reproduceProposed resolutionRemaining tasksUser interface changesAPI changesData model changesRelease notes snippet
View ArticleMake the MediaLibraryUploadForm's image style configurable
Problem/MotivationIn the MediaLibraryUploadForm, medium thumbnails are rendered to the left of form elements to give users a visual preview of the media they're creating. This uses a hard-coded...
View Article