function asset_widget_get_current_commands in Asset 7
Return currently setted commands.
1 call to asset_widget_get_current_commands()
- asset_widget_get_tab_by_id in modules/
asset_widget/ asset_widget.admin.inc - Menu callback to get tab content by ID, or all enabled tabs if ID omitted.
File
- modules/
asset_widget/ asset_widget.module, line 782 - Code for the Asset widget module.
Code
function asset_widget_get_current_commands() {
$commands = drupal_static('asset_widget_commands');
return $commands ? $commands : array();
}