You are here

protected static function EntityCacheTagsTestBase::generateStandardizedInfo in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php \Drupal\system\Tests\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/src/Tests/Entity/EntityCacheTagsTestBase.php, line 117
Contains \Drupal\system\Tests\Entity\EntityCacheTagsTestBase.

Class

EntityCacheTagsTestBase
Provides helper methods for Entity cache tags tests.

Namespace

Drupal\system\Tests\Entity

Code

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