function asset_widget_set_current_command in Asset 7
Provide static storage for current commands.
3 calls to asset_widget_set_current_command()
- asset_widget_get_asset_form in modules/
asset_widget/ asset_widget.module - Render for edit/create asset form.
- asset_widget_get_search_form in modules/
asset_widget/ asset_widget.module - Build search form renderable array.
- asset_widget_get_search_results in modules/
asset_widget/ asset_widget.module - Build search results renderable array.
File
- modules/
asset_widget/ asset_widget.module, line 774 - Code for the Asset widget module.
Code
function asset_widget_set_current_command($command) {
$commands =& drupal_static('asset_widget_commands');
$commands[] = $command;
}