Question : drupal 8 group hook_entity_access
Answered by : gleaming-goat-zvadsyzt8jv9
function hook_entity_access(\Drupal\Core\Entity\EntityInterface $entity, $operation, \Drupal\Core\Session\AccountInterface $account) { // No opinion. return AccessResult::neutral();
}
Source : https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21entity.api.php/function/hook_entity_access/8.2.x | Last Update : Wed, 21 Oct 20