You are here

function activity_get_info in Activity 6

Same name and namespace in other branches
  1. 5.4 activity.module \activity_get_info()
  2. 5.3 activity.module \activity_get_info()

API function

Return value

An array of module names and metadata from those modules that implement hook_activity_info().

5 calls to activity_get_info()
ActivityAPITest::testActivityGetInfo in tests/ActivityAPITests.test
activity_admin_settings in ./activity.module
Activity admin main settings page.
activity_menu_load in ./activity.module
Menu wildcard loader callback for activity contrib module activity settings.
activity_views_handler_filter_operation::get_value_options in views/activity_views_handler_filter_operation.inc
activity_views_handler_filter_type::get_value_options in views/activity_views_handler_filter_type.inc
1 string reference to 'activity_get_info'
ActivityAPITest::testActivityGetInfo in tests/ActivityAPITests.test

File

./activity.module, line 468
activity.module

Code

function activity_get_info() {
  foreach (module_implements('activity_info') as $module) {
    $info[$module] = module_invoke($module, 'activity_info');
  }
  return $info;
}