function BlockRegion::__construct
Same name in other branches
- 8.9.x core/modules/block/src/Plugin/migrate/process/BlockRegion.php \Drupal\block\Plugin\migrate\process\BlockRegion::__construct()
- 10 core/modules/block/src/Plugin/migrate/process/BlockRegion.php \Drupal\block\Plugin\migrate\process\BlockRegion::__construct()
- 11.x core/modules/block/src/Plugin/migrate/process/BlockRegion.php \Drupal\block\Plugin\migrate\process\BlockRegion::__construct()
Constructs a BlockRegion plugin instance.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
array $regions: Array of region maps, keyed by theme.
File
-
core/
modules/ block/ src/ Plugin/ migrate/ process/ BlockRegion.php, line 37
Class
- BlockRegion
- Plugin annotation @MigrateProcessPlugin( id = "block_region" )
Namespace
Drupal\block\Plugin\migrate\processCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, array $regions) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->regions = $regions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.