function field_test_permission

Implements hook_permission().

File

modules/field/tests/field_test.module, line 23

Code

function field_test_permission() {
    $perms = array(
        'access field_test content' => array(
            'title' => t('Access field_test content'),
            'description' => t('View published field_test content.'),
        ),
        'administer field_test content' => array(
            'title' => t('Administer field_test content'),
            'description' => t('Manage field_test content'),
        ),
    );
    return $perms;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.