mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Use the contrib entity access and permission_provider handlers for the tag_type config entity.
This commit is contained in:
parent
95d020ea18
commit
835c8602c1
|
@ -0,0 +1,3 @@
|
|||
farm_id_tag:
|
||||
default_permissions:
|
||||
- view tag_type
|
|
@ -11,8 +11,10 @@ use Drupal\Core\Config\Entity\ConfigEntityBase;
|
|||
* id = "tag_type",
|
||||
* label = @Translation("ID tag type"),
|
||||
* label_collection = @Translation("ID tag types"),
|
||||
* handlers = { },
|
||||
* admin_permission = "administer site configuration",
|
||||
* handlers = {
|
||||
* "access" = "\Drupal\entity\EntityAccessControlHandler",
|
||||
* "permission_provider" = "\Drupal\entity\EntityPermissionProvider",
|
||||
* },
|
||||
* entity_keys = {
|
||||
* "id" = "id",
|
||||
* "label" = "label",
|
||||
|
|
Loading…
Reference in a new issue