1 | <?php |
||
10 | class SchemaPluginManager extends DefaultPluginManager { |
||
11 | |||
12 | /** |
||
13 | * SchemaPluginManager constructor. |
||
14 | * |
||
15 | * @param bool|string $pluginSubdirectory |
||
16 | * The plugin's subdirectory. |
||
17 | * @param \Traversable $namespaces |
||
18 | * An object that implements \Traversable which contains the root paths |
||
19 | * keyed by the corresponding namespace to look for plugin implementations. |
||
20 | * @param \Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler |
||
21 | * The module handler. |
||
22 | * @param \Drupal\Core\Cache\CacheBackendInterface $cacheBackend |
||
23 | * The cache backend. |
||
24 | * @param string|null $pluginInterface |
||
25 | * The interface each plugin should implement. |
||
26 | * @param string $pluginAnnotationName |
||
27 | * The name of the annotation that contains the plugin definition. |
||
28 | * @param array $config |
||
29 | * The configuration service parameter. |
||
30 | */ |
||
31 | public function __construct( |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | protected function setCachedDefinitions($definitions) { |
||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function getCacheTags() { |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function getCacheMaxAge() { |
||
94 | } |
||
95 |