You are here

public function ShortcutSetUsers::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php \Drupal\shortcut\Plugin\migrate\destination\ShortcutSetUsers::__construct()
  2. 10 core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php \Drupal\shortcut\Plugin\migrate\destination\ShortcutSetUsers::__construct()

Constructs an entity destination plugin.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.

\Drupal\shortcut\ShortcutSetStorageInterface $shortcut_set_storage: The shortcut_set entity storage handler.

Overrides DestinationBase::__construct

File

core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php, line 41

Class

ShortcutSetUsers
Plugin annotation @MigrateDestination( id = "shortcut_set_users" )

Namespace

Drupal\shortcut\Plugin\migrate\destination

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, ShortcutSetStorageInterface $shortcut_set_storage) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
  $this->shortcutSetStorage = $shortcut_set_storage;
}