module_invoke

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 module_invoke()

Invoke a hook in a particular module.

Übergabeparameter

$module The name of the module (without the .module extension).

$hook The name of the hook to invoke.

... Arguments to pass to the hook implementation.

Rückgabewert

The return value of the hook implementation.

Verwandte Themen

▾ 65 functions call module_invoke()

aggregator_admin_form in modules/aggregator/aggregator.admin.inc
Form builder; Configure the aggregator system.
aggregator_form_aggregator_admin_form_alter in modules/aggregator/aggregator.processor.inc
Implementation of hook_form_aggregator_admin_form_alter().
aggregator_refresh in modules/aggregator/aggregator.module
Checks a news feed for new items.
block_admin_configure in modules/block/block.admin.inc
Menu callback; displays the block configuration form.
block_admin_configure_submit in modules/block/block.admin.inc
block_user_form in modules/block/block.module
Implementation of hook_user_form().
blogapi_metaweblog_get_category_list in modules/blogapi/blogapi.module
Blogging API callback. Returns a list of the taxonomy terms that can be associated with a blog node.
blogapi_mt_get_post_categories in modules/blogapi/blogapi.module
Blogging API callback. Returns a list of the taxonomy terms that are assigned to a particular node.
check_markup in modules/filter/filter.module
Run all the enabled filters on a piece of text.
drupal_check_module in includes/install.inc
Check a module's requirements.
drupal_get_schema in includes/bootstrap.inc
Get the schema definition of a table, or the whole database schema.
drupal_get_schema_unprocessed in includes/common.inc
Returns the unprocessed and unaltered version of a module's schema.
drupal_install_system in includes/install.inc
Callback to install the system module.
drupal_uninstall_modules in includes/install.inc
Calls the uninstall function and updates the system table for a given module.
element_info in includes/common.inc
Retrieve the default properties for the defined element type.
field_associate_fields in modules/field/field.module
Allows a module to update the database for fields and columns it controls.
field_build_modes in modules/field/field.module
Registry of available build modes. TODO : move into hook_fieldable_info() ?
field_create_field in modules/field/field.crud.inc
Create a field.
field_delete_field in modules/field/field.crud.inc
Mark a field for deletion, including all its instances and all data associated with it.
field_delete_instance in modules/field/field.crud.inc
Mark a field instance for deletion, including all data associated with it.
field_read_fields in modules/field/field.crud.inc
Read in fields that match an array of conditions.
filter_admin_configure in modules/filter/filter.admin.inc
Build a form to change the settings for a format's filters.
filter_admin_format_form in modules/filter/filter.admin.inc
Generate a text format form.
filter_admin_format_form_submit in modules/filter/filter.admin.inc
Process text format form submissions.
filter_list_format in modules/filter/filter.module
Retrieve a list of filters for a certain format.
help_links_as_list in modules/help/help.admin.inc
help_page in modules/help/help.admin.inc
Menu callback; prints a page listing general help for a module.
hook_search in modules/search/search.api.php
Define a custom search routine.
module_disable in includes/module.inc
Disable a given set of modules.
module_enable in includes/module.inc
Enable a given list of modules.
node_access in modules/node/node.module
Determine whether the current user may perform the given operation on the specified node.
node_filters in modules/node/node.admin.inc
List node administration filters that can be applied.
node_filter_form in modules/node/node.admin.inc
Return form for node administration filters.
node_form_search_form_alter in modules/node/node.module
Implementation of hook_form_FORM_ID_alter().
node_search in modules/node/node.module
Implementation of hook_search().
path_admin_overview in modules/path/path.admin.inc
Return a listing of all defined URL aliases. When filter key passed, perform a standard search on the given key, and return the list of matching URL aliases.
search_data in modules/search/search.module
Perform a standard search on the given keys, and return the formatted results.
search_invoke_preprocess in modules/search/search.module
Invokes hook_search_preprocess() in modules.
search_view in modules/search/search.pages.inc
Menu callback; presents the search form and/or search results.
system_admin_by_module in modules/system/system.admin.inc
Menu callback; prints a listing of admin tasks for each installed module.
system_get_module_admin_tasks in modules/system/system.module
Generate a list of tasks offered by a specified module.
system_modules in modules/system/system.admin.inc
Menu callback; provides module enable/disable interface.
system_modules_submit in modules/system/system.admin.inc
Submit callback; handles modules form submission.
system_themes_form_submit in modules/system/system.admin.inc
Process system_themes_form form submissions.
system_update_6027 in modules/system/system.install
Add block cache.
taxonomy_term_path in modules/taxonomy/taxonomy.module
For vocabularies not maintained by taxonomy.module, give the maintaining module a chance to provide a path for terms in that vocabulary.
update_check_requirements in ./update.php
Check update requirements and report any errors.
update_script_selection_form in ./update.php
user_admin_perm in modules/user/user.admin.inc
Menu callback: administer permissions.
watchdog in includes/bootstrap.inc
Log a system message.
_block_rehash in modules/block/block.module
Update the 'block' DB table with the blocks currently exported by modules.
_block_render_blocks in modules/block/block.module
Render the content and subject for a set of blocks.
_db_rewrite_sql in includes/database/database.inc
Helper function for db_rewrite_sql.
_drupal_install_module in includes/install.inc
Callback to install an individual install profile module.
_field_attach_create_bundle in modules/field/field.attach.inc
Notify field.module that a new bundle was created.
_field_attach_delete in modules/field/field.attach.inc
Delete field data for an existing object. This deletes all revisions of field data for the object.
_field_attach_delete_revision in modules/field/field.attach.inc
Delete field data for a single revision of an existing object. The passed object must have a revision id attribute.
_field_attach_insert in modules/field/field.attach.inc
Save field data for a new object.
_field_attach_load in modules/field/field.attach.inc
Load all fields for the most current version of each of a set of objects of a single object type.
_field_attach_rename_bundle in modules/field/field.attach.inc
Notify field.module that a bundle was renamed.
_field_attach_update in modules/field/field.attach.inc
Save field data for an existing object.
_field_info_collate_types in modules/field/field.info.inc
Collate all information on field types, widget types and related structures.
_filter_tips in modules/filter/filter.module
Helper function for fetching filter tips.
_search_menu in modules/search/search.module
_user_categories in modules/user/user.module
Retrieve a list of all user setting/information categories and sort them by weight.

Code

includes/module.inc, line 488

<?php
function module_invoke() {
  $args = func_get_args();
  $module = $args[0];
  $hook = $args[1];
  unset($args[0], $args[1]);
  if (module_hook($module, $hook)) {
    return call_user_func_array($module . '_' . $hook, $args);
  }
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen