function 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 119
Class
- EntityCacheTagsTestBase
- Provides helper methods for Entity cache tags tests.
Namespace
Drupal\system\Tests\EntityCode
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,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.