You are here

function disable_field_permission in Disable Field 7

Implements hook_permissions().

File

./disable_field.module, line 11
Defines a checkbox field to disable by admin in Field Edit page.

Code

function disable_field_permission() {
  return array(
    'disable textfield module' => array(
      'title' => t('Disable TextField'),
      'description' => t('Perform administration tasks for disable Textfield.'),
    ),
  );
}