You are here

function fac_entity_info_alter in Fast Autocomplete 7

Implements hook_entity_info_alter().

Adds the Fast Autocomplete view mode to all entities.

File

./fac.module, line 379
This file contains the main functions of the Fast Autocomplete module.

Code

function fac_entity_info_alter(&$entity_info) {
  foreach ($entity_info as &$info) {
    $info['view modes']['fac'] = array(
      'label' => t('Fast Autocomplete'),
      'custom settings' => FALSE,
    );
  }
}