You are here

function simplenews_field_widget_info_alter in Simplenews 8

Implements hook_field_widget_info_alter().

File

./simplenews.module, line 1093
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_field_widget_info_alter(&$info) {
  if (isset($info['options_select'])) {
    $info['options_select']['field_types'][] = 'simplenews_issue';
  }

  /*if (isset($info['options_buttons'])) {
      $info['options_buttons']['field_types'][] = 'simplenews_subscription';
    }*/
}