Wednesday, 29 August 2012

How to write permission hook in Drupal 7

/**
 * Implementation of hook_permission
 */

function modulename_permission(){
return array(
      'access institute information import' => array(
          'title' => t('Access Institute Information Import'),
      ),
   );
}

No comments:

Post a Comment

Thank you so much for providing your valuable feedback. I will will look into them and update my skills & technologies accordingly.