class EntityTestTranslatableNoUISkip
Same name in other branches
- 9 core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableNoUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableNoUISkip
- 8.9.x core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableNoUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableNoUISkip
- 10 core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableNoUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableNoUISkip
Defines the test entity class.
Plugin annotation
@ContentEntityType(
id = "entity_test_translatable_no_skip",
label = @Translation("Test entity - Translatable check UI"),
handlers = {
"form" = {
"default" = "Drupal\entity_test\EntityTestForm",
},
"route_provider" = {
"html" = "Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider",
},
},
base_table = "entity_test_mul",
data_table = "entity_test_mul_property_data",
entity_keys = {
"id" = "id",
"uuid" = "uuid",
"bundle" = "type",
"label" = "name",
"langcode" = "langcode",
},
translatable = TRUE,
admin_permission = "administer entity_test content",
links = {
"edit-form" = "/entity_test_translatable_no_skip/{entity_test_translatable_no_skip}/edit",
},
)
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\entity_test\Entity\EntityTest extends \Drupal\Core\Entity\ContentEntityBase implements \Drupal\user\EntityOwnerInterface
- class \Drupal\content_translation_test\Entity\EntityTestTranslatableNoUISkip extends \Drupal\entity_test\Entity\EntityTest
- class \Drupal\entity_test\Entity\EntityTest extends \Drupal\Core\Entity\ContentEntityBase implements \Drupal\user\EntityOwnerInterface
- 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 EntityTestTranslatableNoUISkip
1 file declares its use of EntityTestTranslatableNoUISkip
- ContentTranslationLinkTagTest.php in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationLinkTagTest.php
File
-
core/
modules/ content_translation/ tests/ modules/ content_translation_test/ src/ Entity/ EntityTestTranslatableNoUISkip.php, line 39
Namespace
Drupal\content_translation_test\EntityView source
class EntityTestTranslatableNoUISkip extends EntityTest {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.