You are here

public function ConfigEntityRevisionsRevertFormBase::logUpdate in Config Entity Revisions 8.2

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

Log the update.

1 call to ConfigEntityRevisionsRevertFormBase::logUpdate()
ConfigEntityRevisionsRevertFormBase::submitForm in src/ConfigEntityRevisionsRevertFormBase.php
Form submission handler.
1 method overrides ConfigEntityRevisionsRevertFormBase::logUpdate()
ConfigEntityRevisionsRevertFormTest3::logUpdate in tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php
Apply the revision insert/update.

File

src/ConfigEntityRevisionsRevertFormBase.php, line 267

Class

ConfigEntityRevisionsRevertFormBase
Class ConfigEntityRevisionsRevertFormBase.

Namespace

Drupal\config_entity_revisions

Code

public function logUpdate() {
  $this
    ->logger('content')
    ->notice('@form: set @form to revision %revision.', [
    '@form' => $this->configEntity
      ->label(),
    '%revision' => $this->revision
      ->getRevisionId(),
  ]);
}