
| Current Path : /var/www/html/musik/web/modules/contrib/metatag/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/musik/web/modules/contrib/metatag/src/MetatagTagPluginManager.php |
<?php
namespace Drupal\metatag;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
/**
* A Plugin to manage your meta tag type.
*/
class MetatagTagPluginManager extends DefaultPluginManager {
/**
* {@inheritdoc}
*/
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
$subdir = 'Plugin/metatag/Tag';
// The name of the annotation class that contains the plugin definition.
$plugin_definition_annotation_name = 'Drupal\metatag\Annotation\MetatagTag';
parent::__construct($subdir, $namespaces, $module_handler, NULL, $plugin_definition_annotation_name);
$this->alterInfo('metatag_tags');
$this->setCacheBackend($cache_backend, 'metatag_tags');
}
}