Constructs a new SelectionBase object.
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\EntityFieldManager $entity_field_manager: The entity field manager.
\Drupal\paragraphs_collection\StyleDiscoveryInterface $yaml: The yaml style discovery.
\Drupal\Core\Session\AccountProxyInterface $current_user: The current user.
Overrides ParagraphsBehaviorBase::__construct
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityFieldManager $entity_field_manager, StyleDiscoveryInterface $yaml, AccountProxyInterface $current_user) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_field_manager);
$this->yamlStyleDiscovery = $yaml;
$this->currentUser = $current_user;
}