You are here

fc_progress.module in Field Complete 7

Field Complete Progress - Provides blocks to display a progress bar of Field completion.

File

fc_progress/fc_progress.module
View source
<?php

/**
 * @file
 * Field Complete Progress - Provides blocks to display a progress bar of Field completion.
 */

/**
 * Implements hook_ctools_plugin_directory()
 */
function fc_progress_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools' && $plugin_type == 'content_types') {
    return "plugins/{$plugin_type}";
  }
}

/**
 * Implements hook_block_info().
 */
function fc_progress_block_info() {
  module_load_include('registry.inc', 'fc_progress');
  return _fc_progress_block_info();
}

/**
 * Implements hook_block_view().
 */
function fc_progress_block_view($delta) {
  module_load_include('blocks.inc', 'fc_progress');
  return _fc_progress_block_view($delta);
}

/**
 * Implements hook_theme().
 */
function fc_progress_theme() {
  module_load_include('registry.inc', 'fc_progress');
  return _fc_progress_theme();
}