You are here

protected function NodeTypeAccessService::makeViewAnyPermissionId in Nodetype access 8

Get permission ID for bundle

1 call to NodeTypeAccessService::makeViewAnyPermissionId()
NodeTypeAccessService::permittedBundleIds in src/NodeTypeAccessService.php

File

src/NodeTypeAccessService.php, line 31

Class

NodeTypeAccessService

Namespace

Drupal\nodetype_access

Code

protected function makeViewAnyPermissionId($bundleId) {
  return "view any {$bundleId} content";
}