5 * Contains \Drupal\linkit\AttributeManager.
8 namespace Drupal\linkit;
10 use Drupal\Core\Cache\CacheBackendInterface;
11 use Drupal\Core\Extension\ModuleHandlerInterface;
12 use Drupal\Core\Plugin\DefaultPluginManager;
17 class AttributeManager extends DefaultPluginManager {
22 public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
23 parent::__construct('Plugin/Linkit/Attribute', $namespaces, $module_handler, 'Drupal\linkit\AttributeInterface', 'Drupal\linkit\Annotation\Attribute');
25 $this->alterInfo('linkit_attribute');
26 $this->setCacheBackend($cache_backend, 'linkit_attributes');