You are here

public function FieldPermissionsServiceInterface::getAllPermissions in Field Permissions 8

Same name and namespace in other branches
  1. 8.2 src/FieldPermissionsServiceInterface.php \Drupal\field_permissions\FieldPermissionsServiceInterface::getAllPermissions()

Returns permissions for all fields that are using custom permissions.

This is suitable for use as a permission callback.

Return value

array An array of all permissions for all fields that implement the custom permission type.

1 method overrides FieldPermissionsServiceInterface::getAllPermissions()
FieldPermissionsService::getAllPermissions in src/FieldPermissionsService.php
Returns permissions for all fields that are using custom permissions.

File

src/FieldPermissionsServiceInterface.php, line 51

Class

FieldPermissionsServiceInterface
Implement FieldPermission Interface.

Namespace

Drupal\field_permissions

Code

public function getAllPermissions();