You are here

class TraitTest in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/ConfigEntityRevisionsTraitTest.php \Drupal\Tests\config_entity_revisions\Unit\TraitTest
  2. 1.x tests/src/Unit/ConfigEntityRevisionsTraitTest.php \Drupal\Tests\config_entity_revisions\Unit\TraitTest

Hierarchy

Expanded class hierarchy of TraitTest

File

tests/src/Unit/ConfigEntityRevisionsTraitTest.php, line 27

Namespace

Drupal\Tests\config_entity_revisions\Unit
View source
class TraitTest {
  use \Drupal\config_entity_revisions\ConfigEntityRevisionsConfigTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigEntityRevisionsConfigTrait::$loadedRevisionId public property The ID of the revision that was loaded.
ConfigEntityRevisionsConfigTrait::configEntityStorage public function Get the config entity storage.
ConfigEntityRevisionsConfigTrait::contentEntityStorage public function Get the revisions entity storage.
ConfigEntityRevisionsConfigTrait::getContentEntity public function Default revision of revisions entity that matches the config entity.
ConfigEntityRevisionsConfigTrait::getRevisionId public function Gets the revision identifier of the entity.
ConfigEntityRevisionsConfigTrait::updateLoadedRevisionId public function Set revision ID.
ConfigEntityRevisionsConfigTrait::__wakeup public function Restore the entity type manager after deserialisation.