You are here

public function NoSourcePluginDecorator::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php \Drupal\migrate\Plugin\NoSourcePluginDecorator::__construct()
  2. 9 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;
}