You are here

public function ParagraphBlocksPanelsIpeManager::__construct in Paragraph blocks 8

PanelsParagraphsPanelsIpeManager constructor.

Parameters

\Drupal\paragraph_blocks\ParagraphBlocksEntityManager $paragraph_blocks_entity_manager: The Paragraph blocks entity manager.

Overrides ParagraphBlocksPanelsIpeBaseManager::__construct

File

src/ParagraphBlocksPanelsIpeManager.php, line 19

Class

ParagraphBlocksPanelsIpeManager
Handles panels IPE hooks to rename paragraph blocks.

Namespace

Drupal\paragraph_blocks

Code

public function __construct(ParagraphBlocksEntityManager $paragraph_blocks_entity_manager) {
  parent::__construct('paragraph_field', 'Page: @label', $paragraph_blocks_entity_manager
    ->getRefererEntity());
}