You are here

function configuration_invoke in Configuration Management 7

Invoke a component callback.

6 calls to configuration_invoke()
ConfigurationUITest::testMigrateExportUI in tests/configuration.test
Tests the "Migrate Export" page.
configuration_export_render_hooks in ./
Generate an array of hooks and their raw code.
configuration_get_normal in ./
Get normal objects for a given module/component pair.
configuration_migrate_form in ./
Menu Callback Form.
configuration_notracking_form in ./
Menu Callback Form.

... See full list


./configuration.module, line 500
Module file for the configuration module, which enables the capture and management of configuration in Drupal.


function configuration_invoke($component, $callback) {
  $args = func_get_args();
  unset($args[0], $args[1]);

  // Append the component name to the arguments.
  $args[] = $component;
  if ($function = configuration_hook($component, $callback)) {
    return call_user_func_array($function, $args);