You are here

function linkit_get_allowed_field_elements in Linkit 7.3

Get all allowed filed elements.

Return value

An array of allowed filed elements.

1 call to linkit_get_allowed_field_elements()
linkit_element_info_alter in ./linkit.module
Implements hook_element_info_alter().

File

./linkit.field.inc, line 68
Implementation for Fields and Linkit.

Code

function linkit_get_allowed_field_elements() {

  // Get allowed field and widget types.
  $allowed_field_elements = module_invoke_all('linkit_allowed_field_elements');
  drupal_alter('linkit_allowed_field_elements', $allowed_field_elements);
  return $allowed_field_elements;
}