class ContentEntityBaseMockableClass

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php \Drupal\Tests\Core\Entity\ContentEntityBaseMockableClass

A class extending ContentEntityBase for mocking purposes.

Hierarchy

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

... See full list

File

core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php, line 12

Namespace

Drupal\Tests\Core\Entity
View source
class ContentEntityBaseMockableClass extends ContentEntityBase {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.