public function BootstrapSetting::__construct in Express 8
Constructs a Plugin object.
Builds up the plugin definition and invokes the get() method for any classed annotations that were used.
Overrides Plugin::__construct
File
- themes/
contrib/ bootstrap/ src/ Annotation/ BootstrapSetting.php, line 80 - Contains \Drupal\bootstrap\Annotation\BootstrapSetting.
Class
- BootstrapSetting
- Defines a BootstrapSetting annotation object.
Namespace
Drupal\bootstrap\AnnotationCode
public function __construct($values) {
if (!isset($values['groups'])) {
$values['groups'] = [
'general' => t('General'),
];
}
parent::__construct($values);
}