You are here

public function ParagraphBlocksPanelsIpeBaseManager::__construct in Paragraph blocks 8

PanelsParagraphsPanelsIpeBaseManager constructor.

Parameters

string $plugin_type_id: The plugin type id.

string $label_format: The label format.

\Drupal\Core\Entity\EntityInterface|null $entity: The entity.

1 call to ParagraphBlocksPanelsIpeBaseManager::__construct()
ParagraphBlocksPanelsIpeManager::__construct in src/ParagraphBlocksPanelsIpeManager.php
PanelsParagraphsPanelsIpeManager constructor.
1 method overrides ParagraphBlocksPanelsIpeBaseManager::__construct()
ParagraphBlocksPanelsIpeManager::__construct in src/ParagraphBlocksPanelsIpeManager.php
PanelsParagraphsPanelsIpeManager constructor.

File

src/ParagraphBlocksPanelsIpeBaseManager.php, line 43

Class

ParagraphBlocksPanelsIpeBaseManager
Handles panels IPE hooks to rename paragraph blocks.

Namespace

Drupal\paragraph_blocks

Code

public function __construct($plugin_type_id, $label_format, $entity) {
  $this->pluginTypeId = $plugin_type_id;
  $this->labelFormat = $label_format;
  $this->entity = $entity;
}