You are here

function party_hat_widget_info_alter in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_hat/party_hat.module \party_hat_widget_info_alter()

Implements hook_field_widget_info_alter().

File

modules/party_hat/party_hat.module, line 616
party_hat.module Provides an extensible access system for parties.

Code

function party_hat_widget_info_alter(&$info) {

  //Use options_select for the options
  $info['options_buttons']['field types'][] = 'hat_reference';
}