public function Entity::__construct in Drupal 10
Same name in this branch
- 10 core/modules/views/src/Plugin/views/area/Entity.php \Drupal\views\Plugin\views\area\Entity::__construct()
- 10 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::__construct()
- 10 core/modules/migrate/src/Plugin/migrate/destination/Entity.php \Drupal\migrate\Plugin\migrate\destination\Entity::__construct()
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::__construct()
- 9 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::__construct()
Constructs a \Drupal\views\Plugin\views\argument_validator\Entity 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\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.
2 calls to Entity::__construct()
- TermName::__construct in core/
modules/ taxonomy/ src/ Plugin/ views/ argument_validator/ TermName.php - Constructs a \Drupal\views\Plugin\views\argument_validator\Entity object.
- User::__construct in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - Constructs a \Drupal\views\Plugin\views\argument_validator\Entity object.
2 methods override Entity::__construct()
- TermName::__construct in core/
modules/ taxonomy/ src/ Plugin/ views/ argument_validator/ TermName.php - Constructs a \Drupal\views\Plugin\views\argument_validator\Entity object.
- User::__construct in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - Constructs a \Drupal\views\Plugin\views\argument_validator\Entity object.
File
- core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php, line 60
Class
- Entity
- Defines an argument validator plugin for each entity type.
Namespace
Drupal\views\Plugin\views\argument_validatorCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entity_type_manager;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
}