class EntityTestTranslatableNoUISkip

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

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\Entity
View source
class EntityTestTranslatableNoUISkip extends EntityTest {

}

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