You are here

public function BlockRegion::__construct in Drupal 8

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

Overrides PluginBase::__construct

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\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, array $regions) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->regions = $regions;
}