You are here

public function ChecklistapiPermissions::__construct in Checklist API 8

Constructs a ChecklistapiPermissions object.

File

src/ChecklistapiPermissions.php, line 13

Class

ChecklistapiPermissions
Defines a class containing permission callbacks.

Namespace

Drupal\checklistapi

Code

public function __construct() {
  $this->editPermissionDescription = t('Check and uncheck list items and save changes, or clear saved progress.');
  $this->viewPermissionDescription = t('Read-only access: View list items and saved progress.');
}