You are here

function webform_share_permission in Webform share 7

Implements hook_permission(). This is required as we are handling PHP based files on import / export.

File

./webform_share.module, line 13
Module to handle importing and exporting of webforms, as well as adding the ability to set content type defaults.

Code

function webform_share_permission() {
  return array(
    'access webform share functionality' => array(
      'title' => t('Configure Webform Share'),
      'description' => t('This permission enables the user to paste and run PHP code on the server.'),
      'restrict access' => TRUE,
    ),
  );
}