You are here

function time_range_field_widget_info in Time Range 8

Implements hook_field_widget_info_alter().

File

./time_range.module, line 34
Module implementation file.

Code

function time_range_field_widget_info() {
  return [
    'time_range' => [
      'label' => t('Time Range'),
      'field types' => [
        'datetime_range',
      ],
      'settings' => [
        'add_new_text' => 'Add new customer...',
      ],
    ],
  ];
}