function ViewsEntityArgumentValidator::__construct
Same name and namespace in other branches
- 11.x core/modules/views/src/Plugin/Derivative/ViewsEntityArgumentValidator.php \Drupal\views\Plugin\Derivative\ViewsEntityArgumentValidator::__construct()
- 10 core/modules/views/src/Plugin/Derivative/ViewsEntityArgumentValidator.php \Drupal\views\Plugin\Derivative\ViewsEntityArgumentValidator::__construct()
- 9 core/modules/views/src/Plugin/Derivative/ViewsEntityArgumentValidator.php \Drupal\views\Plugin\Derivative\ViewsEntityArgumentValidator::__construct()
- 8.9.x core/modules/views/src/Plugin/Derivative/ViewsEntityArgumentValidator.php \Drupal\views\Plugin\Derivative\ViewsEntityArgumentValidator::__construct()
Constructs a ViewsEntityArgumentValidator object.
Parameters
string $basePluginId: The base plugin ID.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation.
File
-
core/
modules/ views/ src/ Plugin/ Derivative/ ViewsEntityArgumentValidator.php, line 39
Class
- ViewsEntityArgumentValidator
- Provides views argument validator plugin definitions for all entity types.
Namespace
Drupal\views\Plugin\DerivativeCode
public function __construct(protected $basePluginId, protected EntityTypeManagerInterface $entityTypeManager, TranslationInterface $string_translation) {
$this->stringTranslation = $string_translation;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.