class TraitTest in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/ConfigEntityRevisionsTraitTest.php \Drupal\Tests\config_entity_revisions\Unit\TraitTest
- 1.x tests/src/Unit/ConfigEntityRevisionsTraitTest.php \Drupal\Tests\config_entity_revisions\Unit\TraitTest
Hierarchy
- class \Drupal\Tests\config_entity_revisions\Unit\TraitTest uses ConfigEntityRevisionsConfigTrait
Expanded class hierarchy of TraitTest
File
- tests/
src/ Unit/ ConfigEntityRevisionsTraitTest.php, line 27
Namespace
Drupal\Tests\config_entity_revisions\UnitView source
class TraitTest {
use \Drupal\config_entity_revisions\ConfigEntityRevisionsConfigTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigEntityRevisionsConfigTrait:: |
public | property | The ID of the revision that was loaded. | |
ConfigEntityRevisionsConfigTrait:: |
public | function | Get the config entity storage. | |
ConfigEntityRevisionsConfigTrait:: |
public | function | Get the revisions entity storage. | |
ConfigEntityRevisionsConfigTrait:: |
public | function | Default revision of revisions entity that matches the config entity. | |
ConfigEntityRevisionsConfigTrait:: |
public | function | Gets the revision identifier of the entity. | |
ConfigEntityRevisionsConfigTrait:: |
public | function | Set revision ID. | |
ConfigEntityRevisionsConfigTrait:: |
public | function | Restore the entity type manager after deserialisation. |