class ContentEntityBaseMockableClass
Same name in other branches
- 11.x core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php \Drupal\Tests\Core\Entity\ContentEntityBaseMockableClass
A class extending ContentEntityBase for mocking purposes.
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\EntityInterface uses \Drupal\Core\Cache\RefinableCacheableDependencyTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\Core\Entity\ContentEntityBase extends \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\IteratorAggregate, \Drupal\Core\Entity\ContentEntityInterface, \Drupal\Core\TypedData\TranslationStatusInterface uses \Drupal\Core\Entity\EntityChangesDetectionTrait, \Drupal\Core\Entity\SynchronizableEntityTrait
- class \Drupal\Tests\Core\Entity\ContentEntityBaseMockableClass extends \Drupal\Core\Entity\ContentEntityBase
- class \Drupal\Core\Entity\ContentEntityBase extends \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\IteratorAggregate, \Drupal\Core\Entity\ContentEntityInterface, \Drupal\Core\TypedData\TranslationStatusInterface uses \Drupal\Core\Entity\EntityChangesDetectionTrait, \Drupal\Core\Entity\SynchronizableEntityTrait
Expanded class hierarchy of ContentEntityBaseMockableClass
6 files declare their use of ContentEntityBaseMockableClass
- ContentEntityNormalizerTest.php in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ContentEntityNormalizerTest.php - ContentTranslationManageAccessCheckTest.php in core/
modules/ content_translation/ tests/ src/ Unit/ Access/ ContentTranslationManageAccessCheckTest.php - EntityAdapterUnitTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ TypedData/ EntityAdapterUnitTest.php - EntityNormalizerTest.php in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityNormalizerTest.php - SqlContentEntityStorageTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageTest.php
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ ContentEntityBaseMockableClass.php, line 12
Namespace
Drupal\Tests\Core\EntityView source
class ContentEntityBaseMockableClass extends ContentEntityBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.