You are here

function linkit_allowed_elements in Linkit 7.2

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

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

File

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

Code

function linkit_allowed_elements() {
  $allowed_elements = array(
    'textfield',
    'textarea',
    'link_field',
  );
  drupal_alter('linkit_allowed_elements', $allowed_elements);
  return $allowed_elements;
}