class ParagraphBlocksPanelsIpeManager in Paragraph blocks 8
Handles panels IPE hooks to rename paragraph blocks.
Hierarchy
- class \Drupal\paragraph_blocks\ParagraphBlocksPanelsIpeBaseManager
- class \Drupal\paragraph_blocks\ParagraphBlocksPanelsIpeManager
Expanded class hierarchy of ParagraphBlocksPanelsIpeManager
1 file declares its use of ParagraphBlocksPanelsIpeManager
File
- src/
ParagraphBlocksPanelsIpeManager.php, line 11
Namespace
Drupal\paragraph_blocksView source
class ParagraphBlocksPanelsIpeManager extends ParagraphBlocksPanelsIpeBaseManager {
/**
* PanelsParagraphsPanelsIpeManager constructor.
*
* @param \Drupal\paragraph_blocks\ParagraphBlocksEntityManager $paragraph_blocks_entity_manager
* The Paragraph blocks entity manager.
*/
public function __construct(ParagraphBlocksEntityManager $paragraph_blocks_entity_manager) {
parent::__construct('paragraph_field', 'Page: @label', $paragraph_blocks_entity_manager
->getRefererEntity());
}
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
return new static($container
->get('paragraph_blocks.entity_manager'));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ParagraphBlocksPanelsIpeBaseManager:: |
protected | property | The current entity, or NULL. | |
ParagraphBlocksPanelsIpeBaseManager:: |
protected | property | The label format. | |
ParagraphBlocksPanelsIpeBaseManager:: |
protected | property | The plugin type id. | |
ParagraphBlocksPanelsIpeBaseManager:: |
protected | function | Returns the plugin's paragraph title. | |
ParagraphBlocksPanelsIpeBaseManager:: |
public | function | Change the title on the add/edit form. | |
ParagraphBlocksPanelsIpeBaseManager:: |
public | function | Removes unused paragraphs and update the panels title from the paragraph. | |
ParagraphBlocksPanelsIpeManager:: |
public static | function | ||
ParagraphBlocksPanelsIpeManager:: |
public | function |
PanelsParagraphsPanelsIpeManager constructor. Overrides ParagraphBlocksPanelsIpeBaseManager:: |