namespace Drupal\Tests\Traits\Core

Same name in other branches
  1. 9 Drupal\Tests\Traits\Core
  2. 10 Drupal\Tests\Traits\Core
  3. 11.x Drupal\Tests\Traits\Core
Object name File name Summary
CronRunTrait core/tests/Drupal/Tests/Traits/Core/CronRunTrait.php Adds ability to run cron from tests.
GeneratePermutationsTrait core/tests/Drupal/Tests/Traits/Core/GeneratePermutationsTrait.php Adds ability to convert a list of parameters into a stack of permutations.
PathAliasTestTrait core/tests/Drupal/Tests/Traits/Core/PathAliasTestTrait.php Provides methods to create and assert path_alias entities.

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