function command_buttons_save in Command Buttons 7
Save a button.
See also
2 calls to command_buttons_save()
- command_buttons_create_node_button in ./
command_buttons.module - Create a node add button based on the node type and label.
- command_buttons_entity_edit_form_submit in ./
command_buttons.module - Submit callback for the button entity.
1 string reference to 'command_buttons_save'
- command_buttons_entity_info in ./
command_buttons.module - Impliments hook_crud_hook_entity_info().
File
- ./
command_buttons.module, line 423
Code
function command_buttons_save($entity) {
return entity_get_controller('command_button')
->save($entity);
}