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).
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:See change docs: https://www.drupal.org/docs/contributed-modules/components/upgrade-guide-1x-to-2x#s-non-breaking-changes