interface EntityPermissionProviderInterface in Entity API 8
Allows entity types to provide permissions.
Hierarchy
- interface \Drupal\entity\EntityPermissionProviderInterface
Expanded class hierarchy of EntityPermissionProviderInterface
All classes that implement EntityPermissionProviderInterface
File
- src/
EntityPermissionProviderInterface.php, line 10
Namespace
Drupal\entityView source
interface EntityPermissionProviderInterface {
/**
* Builds permissions for the given entity type.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type.
*
* @return array
* The permissions.
*/
public function buildPermissions(EntityTypeInterface $entity_type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityPermissionProviderInterface:: |
public | function | Builds permissions for the given entity type. | 1 |