protected function EntityNotTranslatableEmptyLangcodeTest::getEntitiesDataArray in Entity Share 8.2
Helper function to get a mapping of the entities data.
Used to create the entities for the test and to test that it has been recreated properly.
Overrides EntityShareClientFunctionalTestBase::getEntitiesDataArray
File
- modules/
entity_share_client/ tests/ src/ Functional/ EntityNotTranslatableEmptyLangcodeTest.php, line 59
Class
- EntityNotTranslatableEmptyLangcodeTest
- Test class for untranslatable entities.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected function getEntitiesDataArray() {
return [
'entity_test_not_translatable_el' => [
LanguageInterface::LANGCODE_NOT_SPECIFIED => [
'entity_test_not_translatable_el' => [
'name' => [
'value' => $this
->randomString(),
'checker_callback' => 'getValue',
],
],
],
],
];
}