You are here

function fusion_apply_load_includes in Fusion Accelerator 7

Same name and namespace in other branches
  1. 7.2 fusion_apply/fusion_apply.module \fusion_apply_load_includes()

Includes $extension.fusion.inc files of extensions compatible with this version of Fusion Apply.

@todo Shoot me. Twice.

1 call to fusion_apply_load_includes()
fusion_apply_init in fusion_apply/fusion_apply.module
Implements hook_init().

File

fusion_apply/fusion_apply.module, line 322
Handles core Fusion Apply functionality.

Code

function fusion_apply_load_includes() {
  foreach (fusion_apply_implements() as $extension) {
    $file = DRUPAL_ROOT . '/' . $extension['path'] . '/' . $extension['name'] . '.fusion.inc';
    if (file_exists($file)) {
      require_once $file;
    }
  }
}