function EntityReferenceArgument::__construct
Same name and namespace in other branches
- 11.x core/modules/views/src/Plugin/views/argument/EntityReferenceArgument.php \Drupal\views\Plugin\views\argument\EntityReferenceArgument::__construct()
Constructs a Handler 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.
Overrides HandlerBase::__construct
File
-
core/
modules/ views/ src/ Plugin/ views/ argument/ EntityReferenceArgument.php, line 28
Class
- EntityReferenceArgument
- Argument handler to accept an entity reference ID value.
Namespace
Drupal\views\Plugin\views\argumentCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityRepositoryInterface $entityRepository, EntityTypeManagerInterface $entityTypeManager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.