class DevelEntityTestNoLinks

Same name in other branches
  1. 4.x tests/modules/devel_entity_test/src/Entity/DevelEntityTestNoLinks.php \Drupal\devel_entity_test\Entity\DevelEntityTestNoLinks
  2. 5.x tests/modules/devel_entity_test/src/Entity/DevelEntityTestNoLinks.php \Drupal\devel_entity_test\Entity\DevelEntityTestNoLinks

Defines the test entity class.

Plugin annotation


@ContentEntityType(
  id = "devel_entity_test_no_links",
  label = @Translation("Devel test entity with no links"),
  handlers = {
    "list_builder" = "Drupal\entity_test\EntityTestListBuilder",
    "view_builder" = "Drupal\entity_test\EntityTestViewBuilder",
    "access" = "Drupal\entity_test\EntityTestAccessControlHandler",
    "form" = {
      "default" = "Drupal\entity_test\EntityTestForm",
      "delete" = "Drupal\entity_test\EntityTestDeleteForm"
    },
    "route_provider" = {
      "html" = "Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider",
    },
    "translation" = "Drupal\content_translation\ContentTranslationHandler",
    "views_data" = "Drupal\entity_test\EntityTestViewsData"
  },
  base_table = "devel_entity_test_no_links",
  persistent_cache = FALSE,
  entity_keys = {
    "id" = "id",
    "uuid" = "uuid",
    "bundle" = "type",
    "label" = "name",
    "langcode" = "langcode",
  },
  field_ui_base_route = "entity.entity_test.admin_form",
)

Hierarchy

Expanded class hierarchy of DevelEntityTestNoLinks

File

tests/modules/devel_entity_test/src/Entity/DevelEntityTestNoLinks.php, line 39

Namespace

Drupal\devel_entity_test\Entity
View source
class DevelEntityTestNoLinks extends EntityTest {

}