Overrides Drupal\Component\Plugin\PluginBase::__construct().
Overrides PluginBase::__construct
public function __construct(array $configuration, $plugin_id, array $plugin_definition) {
foreach ($plugin_definition['regions'] as $region => $title) {
if (!isset($configuration['regions'][$region])) {
$configuration['regions'][$region] = array();
}
}
parent::__construct($configuration, $plugin_id, $plugin_definition);
}