public function ConfigEntityRevisionsRevertFormBase::logUpdate in Config Entity Revisions 1.x
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionsRevertFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsRevertFormBase::logUpdate()
- 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_revisionsCode
public function logUpdate() {
$this
->logger('content')
->notice('@form: set @form to revision %revision.', [
'@form' => $this->config_entity
->label(),
'%revision' => $this->revision
->getRevisionId(),
]);
}