You are here

function paypal_donate_permission in Paypal Donation 7

Returns a list of permissions that can be used for this module.

@since 1.2

Return value

array An array of valid permissions for the onthisdate module

File

./paypal_donate.module, line 33

Code

function paypal_donate_permission() {
  return array(
    'create paypal_page' => array(
      'title' => t('Create a new paypal page'),
      'description' => t('Allows users to create paypal donation pages'),
    ),
    'edit own paypal_page' => array(
      'title' => t('Edit own paypal page'),
      'description' => t('Allows users to edit there own paypal donation pages'),
    ),
  );
}