You are here

function email_field_formatter_info in Email Field 5

Same name and namespace in other branches
  1. 6.2 email.module \email_field_formatter_info()
  2. 6 email.module \email_field_formatter_info()
  3. 7 email.module \email_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./email.module, line 43

Code

function email_field_formatter_info() {
  $formats = array(
    'default' => array(
      'label' => 'Default Email-Link',
      'field types' => array(
        'email',
      ),
    ),
    'contact' => array(
      'label' => 'Email-Contact Form',
      'field types' => array(
        'email',
      ),
    ),
  );
  if (module_exists('invisimail')) {
    $formats['invisi'] = array(
      'label' => 'Email-Invisimail',
      'field types' => array(
        'email',
      ),
    );
  }
  return $formats;
}