You are here

public function ConfigEntityRevisionsControllerInterface::createInitialRevision in Config Entity Revisions 8

Same name and namespace in other branches
  1. 1.x src/ConfigEntityRevisionsControllerInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsControllerInterface::createInitialRevision()

Create an initial revision record.

Parameters

ConfigEntityRevisionsInterface $config_entity: The configuration entity.

Return value

ContentEntityInterface The content entity created.

1 method overrides ConfigEntityRevisionsControllerInterface::createInitialRevision()
ConfigEntityRevisionsControllerBase::createInitialRevision in src/ConfigEntityRevisionsControllerBase.php
Create an initial revision record.

File

src/ConfigEntityRevisionsControllerInterface.php, line 61

Class

ConfigEntityRevisionsControllerInterface
ConfigEntityRevisionsController interface.

Namespace

Drupal\config_entity_revisions

Code

public function createInitialRevision(ConfigEntityRevisionsInterface $config_entity);