1 taxonomy.module | taxonomy_layout_access_info() |
Implements hook_layout_access_info().
File
- core/
modules/ taxonomy/ taxonomy.module, line 1139 - Enables the organization of content into categories.
Code
function taxonomy_layout_access_info() {
$info['taxonomy_term_depth'] = array(
'title' => t('Taxonomy term: Depth'),
'description' => t('Control access by how deep your term is nested.'),
'class' => 'TaxonomyTermDepthLayoutAccess',
'required contexts' => array(
'taxonomy_term' => 'taxonomy_term',
),
);
return $info;
}