public function EntityKeysTest::multipleKeysCacheTestCases in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php \Drupal\KernelTests\Core\Entity\EntityKeysTest::multipleKeysCacheTestCases()
- 10 core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php \Drupal\KernelTests\Core\Entity\EntityKeysTest::multipleKeysCacheTestCases()
Data provider for ::testMultipleKeysCache.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityKeysTest.php, line 45
Class
- EntityKeysTest
- Test the behavior of entity keys.
Namespace
Drupal\KernelTests\Core\EntityCode
public function multipleKeysCacheTestCases() {
return [
'translatable Entity Key' => [
TRUE,
],
'Non-translatable entity key' => [
FALSE,
],
];
}