class EntityTestTranslatableUISkip
Same name in other branches
- 8.9.x core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableUISkip
- 10 core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableUISkip
- 11.x core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableUISkip
Defines the test entity class.
Plugin annotation
@ContentEntityType(
id = "entity_test_translatable_UI_skip",
label = @Translation("Test entity - Translatable skip UI check"),
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,
content_translation_ui_skip = TRUE,
)
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\EntityTestTranslatableUISkip 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 EntityTestTranslatableUISkip
1 file declares its use of EntityTestTranslatableUISkip
- PathNoCanonicalLinkTest.php in core/
modules/ path/ tests/ src/ Kernel/ PathNoCanonicalLinkTest.php
File
-
core/
modules/ content_translation/ tests/ modules/ content_translation_test/ src/ Entity/ EntityTestTranslatableUISkip.php, line 26
Namespace
Drupal\content_translation_test\EntityView source
class EntityTestTranslatableUISkip extends EntityTest {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.