function MissingContentEvent::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::__construct()
  2. 10 core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.