function hook_opigno_widget_info in Opigno 7.0
Implements hook_opigno_widget_info()
Defines widgets that can be used on the OG homepage dashboard. Must return an array identical to that of hook_block_info()
Return value
array
1 function implements hook_opigno_widget_info()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- opigno_opigno_widget_info in ./
opigno.module - Implements hook_opigno_widget_info()
1 invocation of hook_opigno_widget_info()
- opigno_block_info in ./
opigno.module - Implements hook_block_info()
File
- ./
opigno.api.php, line 16 - Defines the Opigno LMS specific API and hooks
Code
function hook_opigno_widget_info() {
return array(
'og_tools' => array(
'info' => t("Opigno: OG tools"),
'cache' => DRUPAL_CACHE_PER_PAGE,
),
'add_og_content' => array(
'info' => t("Opigno: Add OG content"),
'cache' => DRUPAL_CACHE_PER_USER,
),
);
}