| @@ 487-493 (lines=7) @@ | ||
| 484 | * @param string $projectPluginRoot |
|
| 485 | * The directory to search for additional project-specific driver plugins. |
|
| 486 | */ |
|
| 487 | protected function setEntityPluginManager($manager, $projectPluginRoot) |
|
| 488 | { |
|
| 489 | if (!($manager instanceof DriverPluginManagerInterface)) { |
|
| 490 | $manager = new DriverEntityPluginManager($this->namespaces, $this->cache_backend, $this->module_handler, $this->version, $projectPluginRoot); |
|
| 491 | } |
|
| 492 | $this->entityPluginManager = $manager; |
|
| 493 | } |
|
| 494 | ||
| 495 | /** |
|
| 496 | * Sets the provisional entity plugin. |
|
| @@ 231-237 (lines=7) @@ | ||
| 228 | * @param string $projectPluginRoot |
|
| 229 | * The directory to search for additional project-specific driver plugins. |
|
| 230 | */ |
|
| 231 | protected function setFieldPluginManager($manager, $projectPluginRoot) |
|
| 232 | { |
|
| 233 | if (!($manager instanceof DriverPluginManagerInterface)) { |
|
| 234 | $manager = new DriverFieldPluginManager($this->namespaces, $this->cache_backend, $this->module_handler, $this->version, $projectPluginRoot); |
|
| 235 | } |
|
| 236 | $this->fieldPluginManager = $manager; |
|
| 237 | } |
|
| 238 | } |
|
| 239 | ||