TaxonomyTestTrait.php

Same filename in this branch
  1. 8.9.x core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php
  2. 8.9.x core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php
Same filename in other branches
  1. 9 core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php
  2. 10 core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php
  3. 11.x core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php

Namespace

Drupal\Tests\taxonomy\Functional

File

core/modules/taxonomy/tests/src/Functional/TaxonomyTestTrait.php

View source
<?php

namespace Drupal\Tests\taxonomy\Functional;

@trigger_error(__NAMESPACE__ . '\\TaxonomyTestTrait trait is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use \\Drupal\\Tests\\taxonomy\\Traits\\TaxonomyTestTrait instead. See https://www.drupal.org/node/3041703.', E_USER_DEPRECATED);
use Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait as ActualTaxonomyTestTrait;

/**
 * Provides common helper methods for Taxonomy module tests.
 *
 * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0.
 *   Use \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait instead.
 *
 * @see https://www.drupal.org/node/3041703
 */
trait TaxonomyTestTrait {
    use ActualTaxonomyTestTrait;

}

Traits

Title Deprecated Summary
TaxonomyTestTrait

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait instead.

Provides common helper methods for Taxonomy module tests.

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