function NoSourcePluginDecorator::__construct

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php \Drupal\migrate\Plugin\NoSourcePluginDecorator::__construct()
  2. 8.9.x core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php \Drupal\migrate\Plugin\NoSourcePluginDecorator::__construct()
  3. 10 core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php \Drupal\migrate\Plugin\NoSourcePluginDecorator::__construct()

Constructs a NoSourcePluginDecorator object.

Parameters

\Drupal\Component\Plugin\Discovery\DiscoveryInterface $decorated: The object implementing DiscoveryInterface that is being decorated.

File

core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php, line 28

Class

NoSourcePluginDecorator
Remove definitions which refer to a non-existing source plugin.

Namespace

Drupal\migrate\Plugin

Code

public function __construct(DiscoveryInterface $decorated) {
    $this->decorated = $decorated;
}

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