📜  drupal 8 group hook_entity_access - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:15.477000             🧑  作者: Mango

代码示例1
function hook_entity_access(\Drupal\Core\Entity\EntityInterface $entity, $operation, \Drupal\Core\Session\AccountInterface $account) {

  // No opinion.
  return AccessResult::neutral();
}