function log_type_delete in Log entity 7
Delete single log type.
Parameters
LogType $log_type: The log type.
1 call to log_type_delete()
- log_type_form_delete_confirm_submit in ./
log.admin.inc - Log type delete form submit handler.
File
- ./
log.module, line 1146 - Log - A general purpose record keeping system.
Code
function log_type_delete(LogType $log_type) {
entity_delete('log_type', entity_id('log_type', $log_type));
}