protected function EntityShareClientFunctionalTestBase::getCompleteNodeInfos in Entity Share 8.3
Same name and namespace in other branches
- 8.2 modules/entity_share_client/tests/src/Functional/EntityShareClientFunctionalTestBase.php \Drupal\Tests\entity_share_client\Functional\EntityShareClientFunctionalTestBase::getCompleteNodeInfos()
Helper function.
Parameters
array $node_infos: The node infos to use.
Return value
array Return common part to create nodes.
21 calls to EntityShareClientFunctionalTestBase::getCompleteNodeInfos()
- AuthenticationAnonymousTest::getEntitiesDataArray in modules/
entity_share_client/ tests/ src/ Functional/ AuthenticationAnonymousTest.php - Helper function to get a mapping of the entities data.
- AuthenticationTestBase::getEntitiesDataArray in modules/
entity_share_client/ tests/ src/ Functional/ AuthenticationTestBase.php - Helper function to get a mapping of the entities data.
- BasicFieldsTest::getEntitiesDataArray in modules/
entity_share_client/ tests/ src/ Functional/ BasicFieldsTest.php - Helper function to get a mapping of the entities data.
- BlockFieldTest::getEntitiesDataArray in modules/
entity_share_client/ tests/ src/ Functional/ BlockFieldTest.php - Helper function to get a mapping of the entities data.
- ChangedRemovedTest::getEntitiesDataArray in modules/
entity_share_client/ tests/ src/ Functional/ ChangedRemovedTest.php - Helper function to get a mapping of the entities data.
File
- modules/
entity_share_client/ tests/ src/ Functional/ EntityShareClientFunctionalTestBase.php, line 822
Class
- EntityShareClientFunctionalTestBase
- Base class for Entity Share Client functional tests.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected function getCompleteNodeInfos(array $node_infos) {
return array_merge([
'type' => [
'value' => static::$entityBundleId,
'checker_callback' => 'getTargetId',
],
'title' => [
'value' => $this
->randomString(),
'checker_callback' => 'getValue',
],
], $node_infos);
}