You are here

public function MissingContentEvent::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::__construct()
  2. 9 core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::__construct()

Constructs a configuration import missing content event object.

Parameters

array $missing_content: Missing content information.

File

core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php, line 27

Class

MissingContentEvent
Wraps a configuration event for event listeners.

Namespace

Drupal\Core\Config\Importer

Code

public function __construct(array $missing_content) {
  $this->missingContent = $missing_content;
}