You are here

protected static function EntityCacheTagsTestBase::generateStandardizedInfo in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php \Drupal\Tests\system\Functional\Entity\EntityCacheTagsTestBase::generateStandardizedInfo()

Generates standardized entity cache tags test info.

Parameters

string $entity_type_label: The label of the entity type whose cache tags to test.

string $group: The test group.

Return value

array

See also

\Drupal\simpletest\TestBase::getInfo()

File

core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php, line 112

Class

EntityCacheTagsTestBase
Provides helper methods for Entity cache tags tests.

Namespace

Drupal\Tests\system\Functional\Entity

Code

protected static function generateStandardizedInfo($entity_type_label, $group) {
  return [
    'name' => "{$entity_type_label} entity cache tags",
    'description' => "Test the {$entity_type_label} entity's cache tags.",
    'group' => $group,
  ];
}