You are here

public static function fcComplete::load in Field Complete 7

6 calls to fcComplete::load()
fc_entity_load in ./fc.module
Implements hook_entity_load().
fc_field_groups_fc_form_pre_render_alter in fc_field_groups/fc_field_groups.module
Implements hook_fc_form_pre_render_alter().
fc_progress_preprocess_fc_progress_bar in fc_progress/fc_progress.blocks.inc
fc_progress_preprocess_fc_progress_next in fc_progress/fc_progress.blocks.inc
rules_condition_fc_complete in ./fc.rules.inc

... See full list

File

./fc.inc, line 19
Field Complete - Provides field-based completeness for any entity - class.

Class

fcComplete
@file Field Complete - Provides field-based completeness for any entity - class.

Code

public static function load($entity_type, $entity) {
  $fc = fcComplete::build($entity_type, $entity);
  $fc
    ->fetch();
  return $fc;
}