1 taxonomy.module | taxonomy_permission() |
Implements hook_permission().
File
- core/
modules/ taxonomy/ taxonomy.module, line 44 - Enables the organization of content into categories.
Code
function taxonomy_permission() {
$permissions = array(
'administer taxonomy' => array(
'title' => t('Administer vocabularies and terms'),
),
);
foreach (taxonomy_vocabulary_load_multiple(FALSE) as $vocabulary) {
$permissions += taxonomy_vocabulary_list_permissions($vocabulary);
}
return $permissions;
}