function linkit_allowed_widget_types in Linkit 7.2
Return a list of allowed widget types. @TODO: Make this a hook.
1 call to linkit_allowed_widget_types()
- linkit_form_field_ui_field_edit_form_alter in ./
linkit.field.inc - Implements hook_form_FIELD_UI_FIELD_EDIT_FORM_alter().
File
- ./
linkit.field.inc, line 40 - Implementation for Fields and Linkit.
Code
function linkit_allowed_widget_types() {
$allowed_widget_types = array(
'text_textfield',
'text_textarea',
'link_field',
);
drupal_alter('linkit_allowed_widget_types', $allowed_widget_types);
return $allowed_widget_types;
}