function Term::__construct

Overrides Entity::__construct

File

core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php, line 22

Class

Term
Adds legacy vocabulary handling to standard Entity Argument validation.

Namespace

Drupal\taxonomy\Plugin\views\argument_validator

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
    @trigger_error('The ' . __NAMESPACE__ . '\\Term is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use \\Drupal\\views\\Plugin\\views\\argument_validator\\Entity instead. See https://www.drupal.org/node/3221870', E_USER_DEPRECATED);
    parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $entity_type_bundle_info);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.