protected function JsonApiExtrasTest::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/ JsonApiExtrasTest.php, line 78
Class
- JsonApiExtrasTest
- Functional test class for JSON:API Extras features.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected function getEntitiesDataArray() {
return [
'node' => [
'en' => [
// Default.
'es_test' => $this
->getCompleteNodeInfos([
'status' => [
'value' => NodeInterface::PUBLISHED,
'checker_callback' => 'getValue',
],
]),
],
],
];
}