function EntityFieldManagerTest::providerTestGetBaseFieldDefinitionsTranslatableEntityTypeLangcode

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\EntityFieldManagerTest::providerTestGetBaseFieldDefinitionsTranslatableEntityTypeLangcode()
  2. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\EntityFieldManagerTest::providerTestGetBaseFieldDefinitionsTranslatableEntityTypeLangcode()
  3. 11.x core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\EntityFieldManagerTest::providerTestGetBaseFieldDefinitionsTranslatableEntityTypeLangcode()

Provides test data for testGetBaseFieldDefinitionsTranslatableEntityTypeLangcode().

Return value

array Test data.

File

core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php, line 408

Class

EntityFieldManagerTest
@coversDefaultClass \Drupal\Core\Entity\EntityFieldManager[[api-linebreak]] @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

public static function providerTestGetBaseFieldDefinitionsTranslatableEntityTypeLangcode() {
  return [
    [
      FALSE,
      TRUE,
      TRUE,
    ],
    [
      TRUE,
      FALSE,
      TRUE,
    ],
    [
      TRUE,
      TRUE,
      FALSE,
    ],
  ];
}

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