function EntityArgument::__construct
Same name in other branches
- 10 core/modules/views/src/Plugin/views/argument/EntityArgument.php \Drupal\views\Plugin\views\argument\EntityArgument::__construct()
Overrides HandlerBase::__construct
File
-
core/
modules/ views/ src/ Plugin/ views/ argument/ EntityArgument.php, line 27
Class
- EntityArgument
- Argument handler to accept an entity 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.