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