function workspaces_entity_create_access
Same name in other branches
- 9 core/modules/workspaces/workspaces.module \workspaces_entity_create_access()
- 8.9.x core/modules/workspaces/workspaces.module \workspaces_entity_create_access()
- 11.x core/modules/workspaces/workspaces.module \workspaces_entity_create_access()
Implements hook_entity_create_access().
See also
\Drupal\workspaces\EntityAccess
File
-
core/
modules/ workspaces/ workspaces.module, line 214
Code
function workspaces_entity_create_access(AccountInterface $account, array $context, $entity_bundle) {
return \Drupal::service('class_resolver')->getInstanceFromDefinition(EntityAccess::class)
->entityCreateAccess($account, $context, $entity_bundle);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.