trait TaxonomyTestTrait
Same name in this branch
- 8.9.x core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php \Drupal\taxonomy\Tests\TaxonomyTestTrait
- 8.9.x core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait
- 10 core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait
- 11.x core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait
Provides common helper methods for Taxonomy module tests.
Hierarchy
- trait \Drupal\Tests\taxonomy\Functional\TaxonomyTestTrait uses \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait
Deprecated
in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait instead.
See also
https://www.drupal.org/node/3041703
File
-
core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTestTrait.php, line 17
Namespace
Drupal\Tests\taxonomy\FunctionalView source
trait TaxonomyTestTrait {
use ActualTaxonomyTestTrait;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.