Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / metatag / src / MetatagTagPluginManager.php
1 <?php
2
3 namespace Drupal\metatag;
4
5 use Drupal\Core\Cache\CacheBackendInterface;
6 use Drupal\Core\Extension\ModuleHandlerInterface;
7 use Drupal\Core\Plugin\DefaultPluginManager;
8
9 /**
10  * A Plugin to manage your meta tag type.
11  */
12 class MetatagTagPluginManager extends DefaultPluginManager {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
18     $subdir = 'Plugin/metatag/Tag';
19
20     // The name of the annotation class that contains the plugin definition.
21     $plugin_definition_annotation_name = 'Drupal\metatag\Annotation\MetatagTag';
22
23     parent::__construct($subdir, $namespaces, $module_handler, NULL, $plugin_definition_annotation_name);
24
25     $this->alterInfo('metatag_tags');
26
27     $this->setCacheBackend($cache_backend, 'metatag_tags');
28   }
29
30 }