You are here

function simple_access_content_extra_fields in Simple Access 6.2

Same name and namespace in other branches
  1. 7.2 simple_access.module \simple_access_content_extra_fields()

Implementation of hook_content_extra_fields().

File

./simple_access.module, line 966
This module allows administrators to make nodes viewable by specific 'access groups'. Each access group can contain any number of roles. If a node is not assigned to any access groups, it will remain viewable by all users.

Code

function simple_access_content_extra_fields($type_name) {
  $fields['simple_access'] = array(
    'label' => t('Simple Access'),
    'description' => t('Simple Access module form.'),
    'weight' => 20,
  );
  return $fields;
}