function facetapi_facetapi_dependencies in Facet API 6.3
Same name and namespace in other branches
- 7.2 facetapi.facetapi.inc \facetapi_facetapi_dependencies()
- 7 facetapi.facetapi.inc \facetapi_facetapi_dependencies()
Implements hook_facetapi_dependencies().
File
- ./
facetapi.facetapi.inc, line 195 - Facet API hook implementations.
Code
function facetapi_facetapi_dependencies() {
$path = drupal_get_path('module', 'facetapi') . '/plugins/facetapi';
return array(
'dependency' => array(
'handler' => array(
'label' => t('Abstract class for dependencies'),
'class' => 'FacetapiDependency',
'abstract' => TRUE,
'path' => $path,
'file' => 'dependency.inc',
),
),
'bundle' => array(
'handler' => array(
'label' => t('Bundles'),
'class' => 'FacetapiDependencyBundle',
'parent' => 'dependency',
'path' => $path,
'file' => 'dependency_bundle.inc',
),
),
'role' => array(
'handler' => array(
'label' => t('Roles'),
'class' => 'FacetapiDependencyRole',
'parent' => 'dependency',
'path' => $path,
'file' => 'dependency_role.inc',
),
),
);
}