You are here

function node_field_permission in Node Field 7.2

Implements hook_permission().

File

./node_field.module, line 327
This module provide ability to add extra fields to any single node.

Code

function node_field_permission() {
  $items = [];
  $items['add classes to node fields'] = [
    'title' => t('Add classes to node fields'),
    'description' => t('Allow to set additional classes to node fields.'),
  ];
  $items['add/edit/delete fields to node'] = [
    'title' => t('Add/Edit/Delete fields to node'),
    'description' => t('Allow to add/edit/delete fields to node.'),
  ];
  return $items;
}