function public function BootstrapSetting::__construct

8.x-3.x BootstrapSetting.php public BootstrapSetting::__construct($values)

Class

BootstrapSetting
Defines a BootstrapSetting annotation object.

Namespace

Drupal\bootstrap\Annotation

Source src/Annotation/BootstrapSetting.php (line 74)

public function __construct($values) {
  if (!isset($values['groups'])) {
    $values['groups'] = ['general' => t('General')];
  }
  parent::__construct($values);
}