You are here

function date_repeat_field_field_info_alter in Date 8

Same name and namespace in other branches
  1. 7.3 date_repeat_field/date_repeat_field.module \date_repeat_field_field_info_alter()
  2. 7.2 date_repeat_field/date_repeat_field.module \date_repeat_field_field_info_alter()

Implements hook_field_info_alter().

This Field API hook lets us add a new setting to the fields.

File

date_repeat_field/date_repeat_field.module, line 561
Creates the option of Repeating date fields and manages Date fields that use the Date Repeat API.

Code

function date_repeat_field_field_info_alter(&$info) {
  return;
  $info['date']['settings'] += array(
    'repeat' => 0,
  );
  $info['datetime']['settings'] += array(
    'repeat' => 0,
  );
  $info['datestamp']['settings'] += array(
    'repeat' => 0,
  );
}