public function ParagraphsBehaviorBase::__construct in Paragraphs 8
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.
Overrides PluginBase::__construct
File
- src/
ParagraphsBehaviorBase.php, line 36
Class
Namespace
Drupal\paragraphsCode
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;
}