class EntityTestTranslatableUISkip

Same name in other branches
  1. 9 core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableUISkip
  2. 8.9.x core/modules/content_translation/tests/modules/content_translation_test/src/Entity/EntityTestTranslatableUISkip.php \Drupal\content_translation_test\Entity\EntityTestTranslatableUISkip
  3. 10 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

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 28

Namespace

Drupal\content_translation_test\Entity
View source
class EntityTestTranslatableUISkip extends EntityTest {

}

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