provide a way to specifiy the database connection in...
I have some entities in an external database that I access with a controller class extending DrupalDefaultEntityController. Right now I have to override buildQuery() and propertyQuery(), copying 140...
View ArticleEnable/Disable block title
Maybe it's too late to version 8.x. But... Use checkbox for enable or disable block title. And don't have to remind users that used <none>AttachmentSizeStatusTest...
View ArticleAdd contextual links to regions
Add contextual links to the theme regions for "add block" to this region and "configure" region(list of the blocks only this region - example for sortable). Probably for 9.x-dev?
View ArticleAdd test coverage for the term_access query tag
Core supports the term_access query tag to limit access to taxonomy terms, similar to node_access, just without the grants system behind it.However, core doesn't use it nor does it provide any tests...
View ArticleAdd a generic EntityAccessCheck to replace entity_page_access()
entity_page_access() works great as an access callback for hook_menu(), but we need an OO one for routes.I discussed this with fubhy and he suggested an array value for the requirements key, but...
View Articledrupal_write_record() cast wrong type for unsigned int and big int value
I have encountered this problem when I try to save big int value by drupal_write_record().I have defined a field as unsigned big int in the schema, meaning in MySQL I can save value ranging from 0 to...
View ArticleConvert drupal_get_breadcrumb() and drupal_set_breadcrumb() to a service,...
Sub-task of #1889790: [Meta] Allow modules to register links for menus, breadcrumbs and tabs (if not with hook_menu)Problem/MotivationBreadcrumbs use a static pattern but should be updated to a service...
View Articlerendering page in a block
hi, i have a custom module, which outputs its content in a page having a path. I need to render the output in a block using that path .. any suggestions?
View Articleuser_page() is a page callback but is documented as an access callback
The page callback for the path /user is user_page(), however this is documented as being the access callback for this path:<?php/** * Access callback for path /user. * * Displays user profile if...
View ArticleSome string/label types improperly assigned in configuration schemas
ProblemWhile building the translation UIs for configuration entities I found out that many configuration entity properties are improperly typed, the label and text types are not well used and therefore...
View ArticleFix contact category entity language behaviour
Problem/MotivationContact forms getting saved with language as unknown or none.Proposed resolutionDiscuss to find a solution for a UI for language in contact entities.Remaining tasksUser interface...
View ArticleMake garbage collection work with cache tags
Problem/MotivationGarbage collection in database backend deletes only expired items. However, when using cache tags we cache entries with CACHE_PERMANENT. This will cause database tables grow without...
View ArticleDeprecate node_access() in favor of $entity->access() wherever possible
A quick search in PHPStorm reveals 37 in-code usages of node_load(). There will be a few more occurrences of that in the menu system (@see 'access callback' => 'node_access') which have to be...
View ArticleImprove DX with EntityAccessControllerInterface
Currently, entity access controllers get separate methods for each $operation (view, delete, update, create). We originally did that in order to give developers a way to easily split up the code as...
View ArticleMove views AnalyzeTest to UI test folder
The AnalyzeTest class basically tests the analyzer in the UI, and obv. depends on views UI as a consequence. We might as well move it to the UI tests folder.AttachmentSizeStatusTest...
View ArticleUpdate file permissions
Follow up of #1938132-15: ListingEmpty contains wrong @fileAttachmentSizeStatusTest resultOperationsfile-permissions.patch3.27 KBIdlePASSED: [[SimpleTest]]: [MySQL] 53,237 pass(es).View details | Re-test
View ArticleProblem using Token Insert
Hi,I m only aware of HTML& CSS and have no knowledge of PHP, Javascript etc.....I m trying to insert token (A social media widget) in my body(uses CKEditor) of a block, but m not able to.It doesn't...
View Article[policy no patch] config save format and default yml file format and coding...
Problem/MotivationWhile getting drupal 8 ready, we need to have default config settings yml files, and we are making the saved active config files match in format so that a diff between them means that...
View Article#type 'table' allow classes on table cells
Problem/MotivationDue to the structure of the row's columns (tds) in the new #type=>table being the built as the elements within them. It is currently not possible to add #attributes to the table...
View Article