class EntityTestLabel

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabel.php \Drupal\entity_test\Entity\EntityTestLabel
  2. 8.9.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabel.php \Drupal\entity_test\Entity\EntityTestLabel
  3. 10 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabel.php \Drupal\entity_test\Entity\EntityTestLabel

Test entity class.

Attributes

#[ContentEntityType(id: 'entity_test_label', label: new TranslatableMarkup('Entity Test label'), render_cache: FALSE, entity_keys: [ 'uuid' => 'uuid', 'id' => 'id', 'label' => 'name', 'bundle' => 'type', 'langcode' => 'langcode', ], handlers: [ 'access' => EntityTestAccessControlHandler::class, 'view_builder' => TestViewBuilder::class, ], base_table: 'entity_test_label')]

Hierarchy

Expanded class hierarchy of EntityTestLabel

6 files declare their use of EntityTestLabel
EntityAccessControlHandlerTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
EntityReferenceFormatterTest.php in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
EntityTestAccessControlHandler.php in core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php
EntityTestLabelResourceTestBase.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
KeyValueContentEntityStorageTest.php in core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php

... See full list

File

core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabel.php, line 15

Namespace

Drupal\entity_test\Entity
View source
class EntityTestLabel extends EntityTest {

}

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