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 | */ |
||
29 | public function __construct( |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | protected function setCachedDefinitions($definitions) { |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getCacheTags() { |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function getCacheMaxAge() { |
||
92 | } |
||
93 |