'resource' is a soft reserved keyword as of PHP version 7.0 and...
Hi, just as the title says: When you define a rest resource, you have to use the Drupal\module_name\Plugin\rest\resource namespace, however, "resource" is a soft reserved keyword in PHP7. See:...
View ArticleLarge module info files break info file caching when using big features.
Large info files of more than around 1500 items causes Drupal to throw an exception.Issue DetailsFeatures itemizes it's exportables in a feature module's mymodule.info file. Drupal core caches the info...
View ArticleDynamically provide action plugins for every moderation state change
Updated #65Problem/MotivationInstall content_moderationApply the "Editorial" workflow to articles.Create an article node in the published workflow state.Goto /admin/contentUse the bulk action...
View ArticleMenu link plugins should provide a way for the link to be conditionally hidden
AFAICT, there's no way for a menu link plugin to cause the menu link not to appear.There is MenuLinkInterface::isEnabled(), but returning FALSE from that causes the menu link itself to become...
View Article<link rel=“canonical” href=“/relative/url” /> href should be absolute
Drupal 8 creates <link rel="canonical" href="/relative/url" /> by default. support.google.com says: Use absolute paths rather than relative paths with the rel="canonical" link element.Use this...
View ArticleShip layouts that make sense with Layout Builder's concept of sections
Problem/MotivationLayout discovery provides a handful of layout plugins that do not work with Layout builder's concept of section based layouts. Virtually all of layout discovery's layout plugins are...
View ArticleAllow a queue item to be postponed
Problem/MotivationWhen processing a queue, it's common to run into situations where a single item cannot be processed. For example, perhaps an upstream URL is 404'ing, while other URLs in other queue...
View ArticleCallers of LayoutEntityHelperTrait::getEntitySections() do not account for...
Problem/MotivationOnce #2907413: Consider supporting one-off Layout Builder customization for other view modes is addressed, sections will be stored per-view...
View ArticleHow to fix "non-existent config entity name returned by...
I have two recurring errors in my log as follows. Please could someone advise on a php code snippet to remove these errors? Both are reported as a 'views' error type and occur when clearing all...
View ArticleThe layout builder breadcrumbs for defaults don't lead to the view...
Problem/MotivationFor all default layouts the bread is the same leading to the bundle edit page. So to use the breadcrumb to get back to where you clicked "Manage Layout" you have to click bundle item...
View ArticleTitle for bundle Layout does not indicate which View Mode is being edited.
Problem/MotivationWhen you are editing a default layout there is no way to know (besides your memory) which view mode the layout is for.For example for articles the titles is always Edit layout for...
View ArticleLogicException: The database connection is not serializable.
Hi,Im not sure if anyone else has got this error or not, but when I try to perform a validation $form_state->setErrorI am getting an error LogicException: The database connection is not...
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 ArticlePips Jquery library not installed for Facet Range Widget
As I was testing some facet functionality I noticed the "Preparation time" facet range slider is not working as it should and then checked the Chrome Dev Tools to see if it's got the same errors I was...
View ArticleCreating an context object for an entity that is being deleted causes a fatal...
Problem/Motivationfunction foo_entity_delete(EntityInterface $entity) { $context = EntityContext::fromEntity($entity); } This will fail.Proposed resolutionRemaining tasksUser interface changesAPI...
View ArticleAudit and improve focus styles across the Umami theme for logged out users
Focusable elements across the site have these various focus style scenariosdefault browser focus style onlydefault plus Umami focus stylesUmami successfully overriding default focus styles Mac OS -...
View ArticleMixed-up render order of blocks wrapped in #lazy_builder.
I have three blocks on page, all them are created as Block Plugins and displayed via #lazy_builder in build() method. For every block is performed some requests to Jira using GuzzleHttp library....
View ArticleSqlContentEntityStorage tries to update identity/serial values by default
Problem/MotivationSqlContentEntityStorage::mapToStorageRecord sends update statements that includes IDENTITY fields that need to be updated, such as: UPDATE xxx SET nid = 1, property0 = :value0 WHERE...
View Articleleading \ in content_moderation.services.yml
In content_moderation.service.yml the "content_moderation.state_transition_validation" service has a class definition that starts with a "\"This caused me an issue recently when I installed a site via...
View ArticleMove MigrateField Plugins out of Core Library
Problem/MotivationNumber, email, and reference field types are defined in the Core library, and when it came time to create MigrateField plugins for these fields, they were placed in the Core...
View Article