You are here

function workspace_entity_create_access in Workspace 8

Same name and namespace in other branches
  1. 8.2 workspace.module \workspace_entity_create_access()

Implements hook_entity_create_access().

File

./workspace.module, line 107

Code

function workspace_entity_create_access(AccountInterface $account, array $context, $entity_bundle) {
  return \Drupal::service('workspace.entity_access')
    ->entityCreateAccess($account, $context, $entity_bundle);
}