You are here

public function PanelsIPELayoutForm::__construct in Panels 8.4

Same name and namespace in other branches
  1. 8.3 panels_ipe/src/Form/PanelsIPELayoutForm.php \Drupal\panels_ipe\Form\PanelsIPELayoutForm::__construct()

Constructs a new PanelsIPEBlockPluginForm.

Parameters

\Drupal\Core\Layout\LayoutPluginManagerInterface $layout_manager:

\Drupal\Core\Render\RendererInterface $renderer:

\Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory:

File

panels_ipe/src/Form/PanelsIPELayoutForm.php, line 58

Class

PanelsIPELayoutForm
Provides a form for configuring a layout for use with the IPE.

Namespace

Drupal\panels_ipe\Form

Code

public function __construct(LayoutPluginManagerInterface $layout_manager, RendererInterface $renderer, SharedTempStoreFactory $temp_store_factory) {
  $this->layoutManager = $layout_manager;
  $this->renderer = $renderer;
  $this->tempStore = $temp_store_factory
    ->get('panels_ipe');
}