Namespace
Drupal\quicktabs
File
-
src/TabRendererManager.php
View source
<?php
namespace Drupal\quicktabs;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Component\Plugin\Factory\DefaultFactory;
class TabRendererManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/TabRenderer', $namespaces, $module_handler, 'Drupal\\quicktabs\\TabRendererInterface', 'Drupal\\quicktabs\\Annotation\\TabRenderer');
$this->alterInfo('quicktabs_tab_renderer_info');
$this->setCacheBackend($cache_backend, 'quicktabs_tab_renderers');
$this->factory = new DefaultFactory($this->getDiscovery());
}
}
Classes