You are here

function hook_facetapi_url_processors in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 facetapi.api.php \hook_facetapi_url_processors()
  2. 7 facetapi.api.php \hook_facetapi_url_processors()

Define all URL processor plugins provided by the module.

See the FacetapiUrlProcessor docblock for more information on what url processor plugins do and what their responsibilities are.

Return value

array An associative array keyed by unique name of the URL processor. Each URL processor is an associative array keyed by "handler" containing:

  • label: The human readable name of the plugin displayed in the admin UI.
  • class: The name of the plugin class.

See also

FacetapiUrlProcessor

1 function implements hook_facetapi_url_processors()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

facetapi_facetapi_url_processors in ./facetapi.facetapi.inc
Implements hook_facetapi_url_processors().

File

./facetapi.api.php, line 449
Hooks provided by the Facet API module.

Code

function hook_facetapi_url_processors() {
  return array(
    'standard' => array(
      'handler' => array(
        'label' => t('Standard URL processors'),
        'class' => 'FacetapiUrlProcessorStandard',
      ),
    ),
  );
}