PanelsPatternManager.php in Panels 8.3
File
src/PanelsPatternManager.php
View source
<?php
namespace Drupal\panels;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
class PanelsPatternManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
$this
->alterInfo('panels_pattern_info');
$this
->setCacheBackend($cache_backend, 'panels_pattern_plugins');
parent::__construct('Plugin/PanelsPattern', $namespaces, $module_handler, 'Drupal\\panels\\Plugin\\PanelsPattern\\PanelsPatternInterface', '\\Drupal\\panels\\Annotation\\PanelsPattern');
}
}