function EntityKeysTest::multipleKeysCacheTestCases

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php \Drupal\KernelTests\Core\Entity\EntityKeysTest::multipleKeysCacheTestCases()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php \Drupal\KernelTests\Core\Entity\EntityKeysTest::multipleKeysCacheTestCases()
  3. 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 47

Class

EntityKeysTest
Test the behavior of entity keys.

Namespace

Drupal\KernelTests\Core\Entity

Code

public static function multipleKeysCacheTestCases() {
    return [
        'translatable Entity Key' => [
            TRUE,
        ],
        'Non-translatable entity key' => [
            FALSE,
        ],
    ];
}

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