function hook_rich_snippets_preprocessors in Rich Snippets 7
Returns all preprocessor definitions.
It is only necessary to implement this hook when integration a search backend to the Rich Snippets module.
Return value
array An associative array of preprocessors keyed by module name to an array containing:
- class: The preprocessor class.
1 function implements hook_rich_snippets_preprocessors()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_rich_snippets_preprocessors()
- rich_snippets_get_preprocessors in ./
rich_snippets.module - Gathers all preprocessor definitions.
File
- ./
rich_snippets.api.php, line 35 - Hooks provided by the Rich Snippets module.
Code
function hook_rich_snippets_preprocessors() {
return array(
'apachesolr' => array(
'class' => 'Drupal_RichSnippets_Apachesolr_ApachesolrSchemaPreprocessor',
),
'node' => array(
'class' => 'Drupal_RichSnippets_Node_NodeSchemaPreprocessor',
),
);
}