1234567891011121314151617181920212223242526272829 |
- <?php
- function materio_taxonomy_permission() {
- $perms = array();
- $perms['access taxonomy terms page'] = array(
- 'title' => t('access taxonomy terms page'),
- 'description' => t(''),
- );
-
- return $perms;
- }
- function materio_taxonomy_menu_alter(&$items) {
- $items['taxonomy/term/%taxonomy_term']['access arguments'] = array('access taxonomy terms page');
- $items['taxonomy/term/%taxonomy_term/view']['access arguments'] = array('access taxonomy terms page');
- $items['taxonomy/term/%taxonomy_term/feed']['access arguments'] = array('access taxonomy terms page');
- }
|