protected function EmbeddedEntityTest::getImportConfigProcessorSettings in Entity Share 8.3
Helper function to create the import config used for the test.
Return value
array The import processors config.
Overrides EntityShareClientFunctionalTestBase::getImportConfigProcessorSettings
File
- modules/
entity_share_client/ tests/ src/ Functional/ EmbeddedEntityTest.php, line 113
Class
- EmbeddedEntityTest
- Functional test class for embedded entities in RTE fields.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected function getImportConfigProcessorSettings() {
$processors = parent::getImportConfigProcessorSettings();
$processors['physical_file'] = [
'rename' => FALSE,
'weights' => [
'process_entity' => 0,
],
];
$processors['embedded_entity_importer'] = [
'max_recursion_depth' => -1,
'weights' => [
'prepare_importable_entity_data' => 20,
],
];
return $processors;
}