You are here

function mobile_number_field_formatter_info in Mobile Number 7

Implements hook_field_formatter_info().

File

./mobile_number.module, line 194
mobile_number.module

Code

function mobile_number_field_formatter_info() {
  return array(
    'mobile_number_international' => array(
      'label' => t('International Number'),
      'field types' => array(
        'mobile_number',
        'telephone',
      ),
      'settings' => array(
        'as_link' => FALSE,
      ),
    ),
    'mobile_number_country' => array(
      'label' => t('Country'),
      'field types' => array(
        'mobile_number',
        'telephone',
      ),
      'settings' => array(
        'type' => 'name',
      ),
    ),
    'mobile_number_local' => array(
      'label' => t('Local Number'),
      'field types' => array(
        'mobile_number',
        'telephone',
      ),
      'settings' => array(
        'as_link' => FALSE,
      ),
    ),
    'mobile_number_verified' => array(
      'label' => t('Verified Status'),
      'field types' => array(
        'mobile_number',
      ),
    ),
  );
}