You are here

function object_log_clear_log in Object Log 8

Same name and namespace in other branches
  1. 7 object_log.module \object_log_clear_log()

Clear the object log.

File

./object_log.module, line 45

Code

function object_log_clear_log() {
  \Drupal::database()
    ->delete('object_log')
    ->execute();
}