You are here

function _colorbox_field_formatter_get_link_types in Colorbox field formatter 7

Callback to provide an arry for a select field containing all link types.

Return value

array

2 calls to _colorbox_field_formatter_get_link_types()
colorbox_field_formatter_field_formatter_settings_form in ./colorbox_field_formatter.module
Implements hook_field_formatter_settings_form().
colorbox_field_formatter_field_formatter_settings_summary in ./colorbox_field_formatter.module
Implements hook_field_formatter_settings_summary().

File

./colorbox_field_formatter.module, line 59
Implement a colorbox field formatter for proper links.

Code

function _colorbox_field_formatter_get_link_types() {
  return array(
    'content' => t('Content'),
    'manual' => t('Manually provide a link'),
  );
}