You are here

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

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionsRevertFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsRevertFormBase::logUpdate()
  2. 8 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 265

Class

ConfigEntityRevisionsRevertFormBase
Provides a form for reverting / publishing a revision.

Namespace

Drupal\config_entity_revisions

Code

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