You are here

public function ConfigEntityRevisionsDeleteFormBase::logUpdate in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionsDeleteFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsDeleteFormBase::logUpdate()
  2. 8 src/ConfigEntityRevisionsDeleteFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsDeleteFormBase::logUpdate()

Log a revision deletion.

1 call to ConfigEntityRevisionsDeleteFormBase::logUpdate()
ConfigEntityRevisionsDeleteFormBase::submitForm in src/ConfigEntityRevisionsDeleteFormBase.php
Form submission handler.

File

src/ConfigEntityRevisionsDeleteFormBase.php, line 158

Class

ConfigEntityRevisionsDeleteFormBase
Provides a form for reverting a config entity revision.

Namespace

Drupal\config_entity_revisions

Code

public function logUpdate() {
  $this
    ->logger('content')
    ->notice('Deleted %label revision %revision.', [
    '%label' => $this->config_entity
      ->label(),
    '%revision' => $this->revision
      ->getRevisionId(),
  ]);
}