Skip to content

Not compatible with drupal/components v2 #333

@hugronaphor

Description

@hugronaphor

Starting with V2 of drupal/components there is a new way to define namespaces.

By doing the required changes twig's pattern() function isn't working anymore as it can't find the template.
Error example:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "hero" plugin does not exist. Valid plugin IDs for Drupal\ui_patterns\UiPatternsManager are: in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

See change docs:
https://www.drupal.org/docs/contributed-modules/components/upgrade-guide-1x-to-2x#s-non-breaking-changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions