Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with drupal/components v2 #333

Open
hugronaphor opened this issue Aug 26, 2021 · 1 comment
Open

Not compatible with drupal/components v2 #333

hugronaphor opened this issue Aug 26, 2021 · 1 comment

Comments

@hugronaphor
Copy link

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

@johnjw59
Copy link

This is actually being resolved in drupal/components: https://www.drupal.org/project/components/issues/3107993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants