public static function BootstrapDate::settings in Bootstrap Datepicker 8
Return default settings. Pass in values to override defaults.
Parameters
array $values: Some Desc.
Return value
array Some Desc.
File
- src/
Element/ BootstrapDate.php, line 138
Class
- BootstrapDate
- Provides a BootstrapDate form element.
Namespace
Drupal\bootstrap_datepicker\ElementCode
public static function settings(array $values = []) {
$settings = [
'lang' => 'en',
];
return array_merge($settings, $values);
}