You are here

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

LayoutBuilderDependencyCollectorBase

Namespace

Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector

Code

public function __construct(EventDispatcherInterface $dispatcher, LayoutPluginManagerInterface $layoutPluginManager = NULL) {
  $this->dispatcher = $dispatcher;
  $this->layoutPluginManager = $layoutPluginManager;
}