public function Entity::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Tests/Fixtures/Entity.php \Symfony\Component\Validator\Tests\Fixtures\Entity::__construct()
- 8 core/lib/Drupal/Core/Entity/Entity.php \Drupal\Core\Entity\Entity::__construct()
- 8 core/modules/views/src/Plugin/views/area/Entity.php \Drupal\views\Plugin\views\area\Entity::__construct()
- 8 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::__construct()
- 8 core/modules/migrate/src/Plugin/migrate/destination/Entity.php \Drupal\migrate\Plugin\migrate\destination\Entity::__construct()
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::__construct()
Constructs an \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\EntityManagerInterface $entity_manager: The entity manager.
Overrides PluginBase::__construct
2 calls to Entity::__construct()
- TermName::__construct in core/
modules/ taxonomy/ src/ Plugin/ views/ argument_validator/ TermName.php - Constructs an \Drupal\views\Plugin\views\argument_validator\Entity object.
- User::__construct in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - Constructs an \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 an \Drupal\views\Plugin\views\argument_validator\Entity object.
- User::__construct in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - Constructs an \Drupal\views\Plugin\views\argument_validator\Entity object.
File
- core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php, line 54 - Contains \Drupal\views\Plugin\views\argument_validator\Entity.
Class
- Entity
- Defines a argument validator plugin for each entity type.
Namespace
Drupal\views\Plugin\views\argument_validatorCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityManagerInterface $entity_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityManager = $entity_manager;
}