You are here

public function BlockRegion::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 42
Contains \Drupal\block\Plugin\migrate\process\BlockRegion.

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;
}