public function MenuSelectConfigForm::defaultConfiguration in Menu Select 8
Same name and namespace in other branches
- 2.0.x src/Form/MenuSelectConfigForm.php \Drupal\menu_select\Form\MenuSelectConfigForm::defaultConfiguration()
File
- src/
Form/ MenuSelectConfigForm.php, line 41
Class
- MenuSelectConfigForm
- Controller for Menu Select config form.
Namespace
Drupal\menu_select\FormCode
public function defaultConfiguration() {
$default_config = $this->configFactory
->get('menu_select.settings');
return [
'search_enabled' => $default_config
->get('search_enabled'),
];
}