You are here

function title_field_formatter_info in Title 7

Implements hook_field_formatter_info().

File

./title.field.inc, line 11
Implement a title field formater.

Code

function title_field_formatter_info() {
  return array(
    'title_linked' => array(
      'label' => t('Linked and wrapped'),
      'field types' => array(
        'text',
      ),
      'settings' => array(
        'title_style' => '',
        'title_link' => '',
        'title_class' => '',
        'enable_trim' => FALSE,
        'trim_length' => 50,
      ),
    ),
  );
}