public function LayoutBuilderDependencyCollectorBase::__construct in Dependency Calculation 8
The LayoutBuilderDependencyCollectorBase constructor.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher: The event dispatcher.
\Drupal\Core\Layout\LayoutPluginManagerInterface|null $layoutPluginManager: The LayoutPluginManager
File
- src/
EventSubscriber/ LayoutBuilderComponentDepencyCollector/ LayoutBuilderDependencyCollectorBase.php, line 38
Class
Namespace
Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollectorCode
public function __construct(EventDispatcherInterface $dispatcher, LayoutPluginManagerInterface $layoutPluginManager = NULL) {
$this->dispatcher = $dispatcher;
$this->layoutPluginManager = $layoutPluginManager;
}