function php_permission

php_permission()

Implements hook_permission().

File

modules/php/php.module, line 29
Additional filter for PHP input.

Code

function php_permission() {
  return array(
    'use PHP for settings' => array(
      'title' => t('Use PHP for settings'),
      'restrict access' => TRUE,
    ),
  );
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!php!php.module/function/php_permission/7.x