You are here

public function SearchApiAlterAddViewedEntity::propertyInfo in Search API 7

Implements SearchApiAlterCallbackInterface::propertyInfo().

Overrides SearchApiAbstractAlterCallback::propertyInfo

File

includes/callback_add_viewed_entity.inc, line 138
Contains SearchApiAlterAddViewedEntity.

Class

SearchApiAlterAddViewedEntity
Search API data alteration callback that adds an URL field for all items.

Code

public function propertyInfo() {
  return array(
    'search_api_viewed' => array(
      'label' => t('Entity HTML output'),
      'description' => t('The whole HTML content of the entity when viewed.'),
      'type' => 'text',
    ),
  );
}