You are here

public static function BootstrapDateTime::settings in Bootstrap DateTime Picker 2.0.x

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_picker\Element

Code

public static function settings(array $values = []) {
  $settings = [
    'lang' => 'en',
  ];
  return array_merge($settings, $values);
}