You are here

function log_delete in Log entity 7

Delete single log.

Parameters

Log $log: The log entity.

1 call to log_delete()
log_delete_form_submit in ./log.pages.inc
Delete form submit handler.

File

./log.module, line 1019
Log - A general purpose record keeping system.

Code

function log_delete(Log $log) {
  entity_delete('log', entity_id('log', $log));
}