You are here

function printable_permission in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x printable.module \printable_permission()

Implements hook_permission().

File

./printable.module, line 61
Provides printer friendly content entities.

Code

function printable_permission() {
  return [
    'view printer friendly versions' => [
      'title' => t('View Printer Friendly Versions'),
    ],
    'administer printable' => [
      'title' => t('Administer Printable'),
    ],
  ];
}