} /**
* Handles the missing content event.
*
* @param \Drupal\Core\Config\Importer\MissingContentEvent $event
* The missing content event.
*/
public function onConfigImporterMissingContentOne(MissingContentEvent
$event) { if ($this->state->
get('config_import_test.config_import_missing_content', FALSE
) &&
$this->state->
get('config_import_test.config_import_missing_content_one', FALSE
) === FALSE
) { $missing =
$event->
getMissingContent();
$uuid =
key($missing);
$this->state->
set('config_import_test.config_import_missing_content_one',
key($missing));
$event->
resolveMissingContent($uuid);
// Stopping propagation ensures that onConfigImporterMissingContentTwo
// will be fired on the next batch step.
$event->
stopPropagation();
} } /**
* Handles the missing content event.
*
* @param \Drupal\Core\Config\Importer\MissingContentEvent $event
* The missing content event.
*/