public function PublishContentAccess::accessUnpublishAnyType in Publish Content 8
Access unpublish any content of specified type (bundle).
1 call to PublishContentAccess::accessUnpublishAnyType()
- PublishContentAccess::access in src/
Access/ PublishContentAccess.php
File
- src/
Access/ PublishContentAccess.php, line 117
Class
- PublishContentAccess
- Access class checking the permissions for publishing and unpublishing.
Namespace
Drupal\publishcontent\AccessCode
public function accessUnpublishAnyType() {
return $this
->checkPermission(Perm::UNPUBLISH_ANY_TYPE);
}