public function BlockPluginId::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block/src/Plugin/migrate/process/BlockPluginId.php \Drupal\block\Plugin\migrate\process\BlockPluginId::__construct()
Constructs a BlockPluginId object.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin ID.
array $plugin_definition: The plugin definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The block content storage object.
\Drupal\migrate\MigrateLookupInterface $migrate_lookup: The migrate lookup service.
Overrides PluginBase::__construct
File
- core/
modules/ block/ src/ Plugin/ migrate/ process/ BlockPluginId.php, line 49
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, MigrateLookupInterface $migrate_lookup) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->blockContentStorage = $storage;
$this->migrateLookup = $migrate_lookup;
}