function ctools_plugin_load_hooks

cis7 plugins.inc ctools_plugin_load_hooks($info)
cle7 plugins.inc ctools_plugin_load_hooks($info)
elmsmedia7 plugins.inc ctools_plugin_load_hooks($info)
icor7 plugins.inc ctools_plugin_load_hooks($info)
meedjum_blog7 plugins.inc ctools_plugin_load_hooks($info)
mooc7 plugins.inc ctools_plugin_load_hooks($info)

Load plugin info for the provided hook; this is handled separately from plugins from files.

Parameters

$info: The info array about the plugin as created by ctools_plugin_get_info()

Return value

An array of info supplied by any hook implementations.

1 call to ctools_plugin_load_hooks()
ctools_get_plugins in sites/all/modules/ulmus/ctools/includes/plugins.inc
Fetch a group of plugins by name.

File

sites/all/modules/ulmus/ctools/includes/plugins.inc, line 646
Contains routines to organize and load plugins. It allows a special variation of the hook system so that plugins can be kept in separate .inc files, and can be either loaded all at once or loaded only when necessary.

Code

function ctools_plugin_load_hooks($info) {
  $hooks = array();
  foreach (module_implements($info['hook']) as $module) {
    $result = ctools_plugin_process($info, $module, $module, drupal_get_path('module', $module));
    if (is_array($result)) {
      $hooks = array_merge($hooks, $result);
    }
  }
  return $hooks;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.