You are here

public function PanelsIPELayoutForm::__construct in Panels 8.3

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

Constructs a new PanelsIPEBlockPluginForm.

Parameters

\Drupal\layout_plugin\Plugin\Layout\LayoutPluginManagerInterface $layout_manager:

\Drupal\Core\Render\RendererInterface $renderer:

\Drupal\user\SharedTempStoreFactory $temp_store_factory:

File

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

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');
}