You are here

services.module in Services 9.0.x

The hook implementations for the services module.

File

services.module
View source
<?php

/**
 * @file
 * The hook implementations for the services module.
 */
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;

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

Functions

Namesort descending Description
services_entity_form_display_access Implements hook_entity_form_display_access().