function EntityFieldManagerTest::providerTestGetBaseFieldDefinitionsTranslatableEntityTypeDefaultLangcode
Provides test data for testGetBaseFieldDefinitionsTranslatableEntityTypeDefaultLangcode().
Return value
array Test data.
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php, line 300
Class
- EntityFieldManagerTest
- @coversDefaultClass \Drupal\Core\Entity\EntityFieldManager[[api-linebreak]] @group Entity
Namespace
Drupal\Tests\Core\EntityCode
public function providerTestGetBaseFieldDefinitionsTranslatableEntityTypeDefaultLangcode() {
return [
[
'default_langcode',
],
[
'custom_default_langcode_key',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.