public function Drupal_RichSnippets_SchemaPreprocessorInterface::addTextToInfo in Rich Snippets 7
Adds the text in fields of the passed schema to the info section.
It is expected that the fields contains a string. The processed data is added to the $variables['info_split'] array.
Parameters
string $schema: The normalized schema associated with the search result.
2 methods override Drupal_RichSnippets_SchemaPreprocessorInterface::addTextToInfo()
- Drupal_RichSnippets_Apachesolr_ApachesolrSchemaPreprocessor::addTextToInfo in lib/
Drupal/ RichSnippets/ Apachesolr/ ApachesolrSchemaPreprocessor.php - Implements Drupal_RichSnippets_SchemaPreprocessorAbstract::addTextToInfo().
- Drupal_RichSnippets_Node_NodeSchemaPreprocessor::addTextToInfo in lib/
Drupal/ RichSnippets/ Node/ NodeSchemaPreprocessor.php - Implements Drupal_RichSnippets_SchemaPreprocessorAbstract::addTextToInfo().
File
- lib/
Drupal/ RichSnippets/ SchemaPreprocessorInterface.php, line 71 - Contains Drupal_RichSnippets_SchemaPreprocessorInterface.
Class
- Drupal_RichSnippets_SchemaPreprocessorInterface
- Interface implemented by all Rich Snippets preprocessor classes.
Code
public function addTextToInfo($schema);