You are here

public function PublishContentAccess::accessPublishAnyType in Publish Content 8

Access publish any content of specified type (bundle).

1 call to PublishContentAccess::accessPublishAnyType()
PublishContentAccess::access in src/Access/PublishContentAccess.php

File

src/Access/PublishContentAccess.php, line 110

Class

PublishContentAccess
Access class checking the permissions for publishing and unpublishing.

Namespace

Drupal\publishcontent\Access

Code

public function accessPublishAnyType() {
  return $this
    ->checkPermission(Perm::PUBLISH_ANY_TYPE);
}