Term.php

Same filename in this branch
  1. 9 core/modules/taxonomy/src/Entity/Term.php
  2. 9 core/modules/taxonomy/src/Plugin/migrate/source/d6/Term.php
  3. 9 core/modules/taxonomy/src/Plugin/migrate/source/d7/Term.php
Same filename in other branches
  1. 8.9.x core/modules/taxonomy/src/Entity/Term.php
  2. 8.9.x core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php
  3. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d6/Term.php
  4. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/Term.php
  5. 8.9.x core/modules/taxonomy/src/Plugin/migrate/source/d7/Term.php
  6. 10 core/modules/taxonomy/src/Entity/Term.php
  7. 10 core/modules/taxonomy/src/Plugin/migrate/source/d6/Term.php
  8. 10 core/modules/taxonomy/src/Plugin/migrate/source/d7/Term.php
  9. 11.x core/modules/taxonomy/src/Entity/Term.php
  10. 11.x core/modules/taxonomy/src/Plugin/migrate/source/d6/Term.php
  11. 11.x core/modules/taxonomy/src/Plugin/migrate/source/d7/Term.php

Namespace

Drupal\taxonomy\Plugin\views\argument_validator

File

core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php

View source
<?php

namespace Drupal\taxonomy\Plugin\views\argument_validator;

use Drupal\Core\Entity\EntityTypeBundleInfoInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\views\Plugin\views\argument_validator\Entity;

/**
 * Adds legacy vocabulary handling to standard Entity Argument validation.
 *
 * @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
 */
class Term extends Entity {
    
    /**
     * {@inheritdoc}
     */
    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);
    }

}

Classes

Title Deprecated Summary
Term

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\views\Plugin\views\argument_validator\Entity instead.

Adds legacy vocabulary handling to standard Entity Argument validation.

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