You are here

public function ConfigEntityRevisionsConfigEntityTrait::preSaveRevision in Config Entity Revisions 8.2

Acts on a revision before it gets saved.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.

\stdClass $record: The revision object.

File

src/ConfigEntityRevisionsConfigEntityTrait.php, line 436

Class

ConfigEntityRevisionsConfigEntityTrait
Trait ConfigEntityRevisionsConfigEntityTrait.

Namespace

Drupal\config_entity_revisions

Code

public function preSaveRevision(EntityStorageInterface $storage, \stdClass $record) {
}