EntityTestDefaultAccess.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\entity_test\EntityFile
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestDefaultAccess.phpView source
<?php
namespace Drupal\entity_test\Entity;
/**
* Defines a test entity class with no access control handler.
*
* @ContentEntityType(
* id = "entity_test_default_access",
* label = @Translation("Test entity with default access"),
* base_table = "entity_test_default_access",
* entity_keys = {
* "id" = "id",
* "bundle" = "type"
* }
* )
*/
class EntityTestDefaultAccess extends EntityTest {
}
Classes
Name | Description |
---|---|
EntityTestDefaultAccess | Defines a test entity class with no access control handler. |