You are here

function services_entity_form_display_access in Services 9.0.x

Same name and namespace in other branches
  1. 8.4 services.module \services_entity_form_display_access()

Implements hook_entity_form_display_access().

File

./services.module, line 15
The hook implementations for the services module.

Code

function services_entity_form_display_access(EntityInterface $entity, $operation, AccountInterface $account) {
  return AccessResult::allowedIfHasPermission($account, 'services ' . $operation . ' form display access');
}