1 field_test.module | field_test_permission() |
Implements hook_permission().
File
- core/
modules/ field/ tests/ field_test/ field_test.module, line 22 - Helper module for the Field API tests.
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;
}