You are here

public function ConfigEntityRevisionsConfigEntityStorageTrait::createRevision in Config Entity Revisions 8.2

File

src/ConfigEntityRevisionsConfigEntityStorageTrait.php, line 15

Class

ConfigEntityRevisionsConfigEntityStorageTrait
Trait ConfigEntityRevisionsTrait.

Namespace

Drupal\config_entity_revisions

Code

public function createRevision(ConfigEntityRevisionsContainerInterface $entity, $default = TRUE, $keep_untranslatable_fields = NULL) {

  // For config entities, we do nothing when preparing forms.
  return $entity;
}