public function ParagraphsBehaviorBase::__construct

Constructs a ParagraphsBehaviorBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

6 calls to ParagraphsBehaviorBase::__construct()
ParagraphsAnchorPlugin::__construct in paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsAnchorPlugin.php
ParagraphsSliderPlugin constructor.
ParagraphsGridLayoutPlugin::__construct in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsGridLayoutPlugin.php
ParagraphsGridLayoutPlugin constructor.
ParagraphsLanguagePlugin::__construct in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsLanguagePlugin.php
ParagraphsLanguagePlugin constructor.
ParagraphsLockablePlugin::__construct in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsLockablePlugin.php
Constructs a new ParagraphsLockablePlugin object.
ParagraphsSliderPlugin::__construct in paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsSliderPlugin.php
ParagraphsSliderPlugin constructor.

... See full list

6 methods override ParagraphsBehaviorBase::__construct()
ParagraphsAnchorPlugin::__construct in paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsAnchorPlugin.php
ParagraphsSliderPlugin constructor.
ParagraphsGridLayoutPlugin::__construct in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsGridLayoutPlugin.php
ParagraphsGridLayoutPlugin constructor.
ParagraphsLanguagePlugin::__construct in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsLanguagePlugin.php
ParagraphsLanguagePlugin constructor.
ParagraphsLockablePlugin::__construct in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsLockablePlugin.php
Constructs a new ParagraphsLockablePlugin object.
ParagraphsSliderPlugin::__construct in paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsSliderPlugin.php
ParagraphsSliderPlugin constructor.

... See full list

File

paragraphs/src/ParagraphsBehaviorBase.php, line 36

Class

ParagraphsBehaviorBase

Namespace

Drupal\paragraphs

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityFieldManagerInterface $entity_field_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->configuration += $this
    ->defaultConfiguration();
  $this->entityFieldManager = $entity_field_manager;
}