You are here

function fc_entity_info_alter in Field Complete 7

Implements hook_entity_info_alter()

File

./fc.module, line 11
Field Complete - Provides field-based completeness for any entity.

Code

function fc_entity_info_alter(&$entity_info) {
  foreach ($entity_info as &$info) {
    if ($info['fieldable'] && empty($info['fc handler class'])) {
      $info['fc handler class'] = 'fcComplete';
    }
  }
}