You are here

public function FieldPermissionsServiceInterface::fieldGetPermissionType in Field Permissions 8

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

Get the permission type for a given field.

Parameters

\Drupal\field\FieldStorageConfigInterface $field: The field to return permissions for.

1 method overrides FieldPermissionsServiceInterface::fieldGetPermissionType()
FieldPermissionsService::fieldGetPermissionType in src/FieldPermissionsService.php
Get the permission type for a given field.

File

src/FieldPermissionsServiceInterface.php, line 59

Class

FieldPermissionsServiceInterface
Implement FieldPermission Interface.

Namespace

Drupal\field_permissions

Code

public function fieldGetPermissionType(FieldStorageConfigInterface $field);