public function BlockPluginId::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block/src/Plugin/migrate/process/BlockPluginId.php \Drupal\block\Plugin\migrate\process\BlockPluginId::__construct()
Constructs a Drupal\Component\Plugin\PluginBase object.
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.
Overrides PluginBase::__construct
File
- core/
modules/ block/ src/ Plugin/ migrate/ process/ BlockPluginId.php, line 44 - Contains \Drupal\block\Plugin\migrate\process\BlockPluginId.
Class
- BlockPluginId
- Plugin annotation @MigrateProcessPlugin( id = "block_plugin_id" )
Namespace
Drupal\block\Plugin\migrate\processCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityStorageInterface $storage, MigrateProcessInterface $migration_plugin) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->blockContentStorage = $storage;
$this->migrationPlugin = $migration_plugin;
}