function scanner_permission in Search and Replace Scanner 7
Implements hook_permission().
File
- ./
scanner.module, line 102 - Search and Replace Scanner - works on all nodes text content.
Code
function scanner_permission() {
return array(
'administer scanner settings' => array(
'title' => t('Administer scanner settings'),
),
'perform search and replace' => array(
'title' => t('Perform search and replace'),
),
'perform search' => array(
'title' => t('Perform search only'),
),
);
}