public function DefaultPattern::__construct in Panels 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/PanelsPattern/DefaultPattern.php \Drupal\panels\Plugin\PanelsPattern\DefaultPattern::__construct()
DefaultPattern constructor.
Parameters
array $configuration: The plugin's configuration.
string $plugin_id: The plugin id.
mixed $plugin_definition: The plugin definition.
\Drupal\ctools\ContextMapperInterface $context_mapper: The context mapper.
Overrides PluginBase::__construct
File
- src/
Plugin/ PanelsPattern/ DefaultPattern.php, line 50
Class
- DefaultPattern
- Plugin annotation @PanelsPattern("default");
Namespace
Drupal\panels\Plugin\PanelsPatternCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ContextMapperInterface $context_mapper) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->contextMapper = $context_mapper;
}