EntityTestNoId.php
Same filename in other branches
Namespace
Drupal\entity_test\EntityFile
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestNoId.php
View source
<?php
namespace Drupal\entity_test\Entity;
/**
* Test entity class.
*
* @ContentEntityType(
* id = "entity_test_no_id",
* label = @Translation("Entity Test without id"),
* handlers = {
* "storage" = "Drupal\Core\Entity\ContentEntityNullStorage",
* },
* entity_keys = {
* "bundle" = "type",
* },
* admin_permission = "administer entity_test content",
* field_ui_base_route = "entity.entity_test_no_id.admin_form",
* links = {
* "add-form" = "/entity_test_no_id/add",
* },
* )
*/
class EntityTestNoId extends EntityTest {
}
Classes
Title | Deprecated | Summary |
---|---|---|
EntityTestNoId | Test entity class. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.