You are here

function invisimail_field_formatter_info in Invisimail 6

Same name and namespace in other branches
  1. 7 invisimail.module \invisimail_field_formatter_info()

Implementation of hook_field_formatter_info(),.

File

./invisimail.module, line 310
This module provides a filter that will search content for email addresses and replace them with their ascii equivalents before display. This is not a complete protection from spam harvesters, but it is some help.

Code

function invisimail_field_formatter_info() {
  return array(
    'invisimail' => array(
      'label' => t('Encode with Invisimail'),
      'field types' => array(
        'email',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}