ContentEntityBase::hasTranslationChanges will compare a forward revision with...
Problem/MotivationContent moderation is now making use of forward revisions but ContentEntityBase::hasTranslationChanges has not been updated to cover this case and it will return false results from...
View Article[meta] Deprecate __get/__set() on ContentEntityBase
Problem/Motivation(Content) Entity API is hard to understand, one aspect of that is there there are multiple ways of doing things and a lot of magic.This is an attempt to deprecate __get()/__set() on...
View ArticleProvide an API to temporarily associate data with an entity
Problem/MotivationIn Drupal 7 it was very common to temporarily put data on an entity by using an arbitrary property to hold the data. This was abusing the fact that entities were simple...
View ArticleConfigEntityBundleBase - with API, how to get a list of configured fields
I have a entity (@ConfigEntityType) that extends ConfigEntityBundleBaseWith api, how to get a list of configured fields in interface ?I tried$entity_field_definitions =...
View ArticleAdd void return to module and theme install/uninstall hook implementations
Problem/MotivationSee #3483037: [META] Add return types to hook implementationsSteps to reproduceProposed resolutionAdd void return to the following hook...
View ArticleRemove exception when accessing a non-existing field with...
Problem/MotivationThere is an attempt to remove magic access for fields on content entities #3281720: [meta] Deprecate __get/__set() on ContentEntityBaseOne concern mentioned there is that...
View ArticleRouter.php, "No route found for the specified format html. Supported...
Problem/Motivationstack used: - domain module (with domain_entity on) https://www.drupal.org/project/domain - drupal/jsonapi_extras https://www.drupal.org/project/jsonapi_extras - webforms - Webforms...
View ArticleThe session is not being updated.
Problem/MotivationThe issue that is happening is that, after updating to Drupal 10.3.0, it was noticed that the session is not being updated. So, if I set the session to 30 minutes, after the user is...
View ArticleTaxonomy Index for unpublished entities
Problem/MotivationIdentified problem detailed in #962664-9: Taxonomy Index for unpublished entities:It is possible to query by field value in views. One of the drawbacks is, by default, you can only...
View ArticleVarnish issue with dynamic page cache module
Problem/MotivationUpdated content not reflecting on front end for anonymous user if page have "X-drupal-dynamic-cache" header is set as "UNCACHEABLE"1. Install dynamic page cache. 2. Set up varnish. 3....
View ArticleRemove uses of FormattableMarkup in kernel test assertions
Problem/MotivationThere is no need to use FormattableMarkup to produce message strings in PHPUnit assertions; it is cleaner and easier in almost all cases to use simple string interpolation...
View ArticleIn Drupal Version 10.3.5, " Insert Image using Imce File Manager'...
Problem/MotivationSteps to reproduceIn Drupal Version 10.3.5, " Insert Image using Imce File Manager' on WYSIWYG editor leads to blank screenProposed resolutionRemaining tasksUser interface...
View ArticleAdding backticks instead of quotation marks in query creation for field names
Problem/MotivationIn web/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php function tableExists tries to check `information_schema.tables` but the field names are given in quotation marks instead of...
View ArticleImprove Dynamic Page Cache header assertions in JSON:API tests
Problem/MotivationJSON:API has extensive test coverage, but when a test fails, debugging and identifying the root cause can be extremely complicated and time-consuming. One of the challenges arises...
View ArticleAdd Twig Types to core templates
Problem/MotivationIn Twig 3.13 there is a new tag types introduced. It gives us the ability to declare the types of the template variables. See https://twig.symfony.com/doc/3.x/tags/types.html and...
View ArticleAllow storing telephone number in E164 format
Problem/MotivationOne of the biggest challenges with the current Telephone module is that it's just a glorified textfield. It has no option to normalize the telephone number - either for the purpose of...
View ArticleComponent library missing when rendered via Drupal.theme (via JS not via Twig)
Problem/MotivationComponent library is missing when it is not rendered via Twig. If rendered with Drupal JavaScript API - such as a custom Drupal.theme.myComponent for instance - the component's...
View ArticleNavigating to first level menu items is not obvious
Problem/MotivationI repost a part of @scott_euser s comment from #3439012-19: Usability review and feedback from testing because I think it is valuable feedback, that has not made it into the roadmap...
View ArticleEnable users to determine which types of log messages get written to...
Problem/MotivationWith Syslog module enabled, syslog quickly gets cluttered with PHP notices and other things I don't care to pay attention to. Additionally, we're using www.splunk.com to monitor a...
View ArticleAdd array return to all hook_views_data and hook_field_views_data...
Problem/MotivationSee #3483037: [META] Add return types to hook implementationsSteps to reproducegrep -P 'Drupal\\\\.*\\\\Hook\\\\.*:\\\\:(viewsData|fieldViewsData)\\\\\(\\\\\) has no return type...
View Article