You are here

function linkit_allowed_field_types in Linkit 7.2

Return a list of allowed field types. @TODO: Make this a hook.

1 call to linkit_allowed_field_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 26
Implementation for Fields and Linkit.

Code

function linkit_allowed_field_types() {
  $allowed_field_types = array(
    'text',
    'text_long',
    'link_field',
  );
  drupal_alter('linkit_allowed_field_types', $allowed_field_types);
  return $allowed_field_types;
}