- Issue created by @asanchez75
Hello,
I added a CreativeWork Schema.org class type by adding a module called `schema_creativework`.
This module is an adaptation of the sub module `schema_article` that is inside of the module `schema_metatag`.
The new module `schema_creativework` only works if it is placed inside the module `schema_metatag`.
However, I want to install it outside the module `schema_metatag` but I got this error
Drupal\Component\Plugin\Exception\PluginException: Plugin (schema_creativework_type) instance class "Drupal\schema_creativework\Plugin\metatag\Tag\SchemaCreativeWorkType" does not exist. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 97 of core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance() (Line: 83)
I have reviewed all the class paths in the new module and they are fine. So, I do not understand why it is required to put the module inside the module `schema_metatag`.
The source code is here
https://git.drupalcode.org/sandbox/asanchez75-3474275
Any help would be appreciated.
Best,
Active
2.6
Code