You are here

function emfield_include_invoke in Embedded Media Field 6

Same name and namespace in other branches
  1. 5 emfield.module \emfield_include_invoke()
  2. 6.3 deprecated/emfield-deprecated.inc \emfield_include_invoke()
  3. 6.2 emfield.module \emfield_include_invoke()

Invoke hook in a particular include.

Parameters

$module: the helper module

$provider: The name of the provider (without the .inc extension).

$hook: The name of the hook (e.g. "settings", "thumbnail", etc.).

...: Arguments to pass to the hook implementation.

Return value

The return value of the hook implementation.

22 calls to emfield_include_invoke()
emfield_content_generate in ./emfield.module
Implementation of Devel module's hook_content_generate().
emfield_handler_argument_provider::title in includes/views/handlers/emfield_handler_argument_provider.inc
Override the behavior of title().
emfield_parse_embed in ./emfield.module
This will parse the url or embedded code pasted by the node submitter.
emfield_provider_menus in ./emfield.module
emfield_provider_themes in ./emfield.module

... See full list

File

./emfield.module, line 614
Embedded Media Field is a CCK-based framework for 3rd party media files.

Code

function emfield_include_invoke() {
  $args = func_get_args();
  $module = array_shift($args);
  $provider = array_shift($args);
  $hook = array_shift($args);
  $function = $module . '_' . $provider . '_' . $hook;
  emfield_system_list($module, $provider);
  return emfield_include_hook($module, $provider, $hook) ? call_user_func_array($function, $args) : NULL;
}