You are here

public function SearchApiAlterAddUrl::propertyInfo in Search API 7

Implements SearchApiAlterCallbackInterface::propertyInfo().

Overrides SearchApiAbstractAlterCallback::propertyInfo

File

includes/callback_add_url.inc, line 24
Contains SearchApiAlterAddUrl.

Class

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

Code

public function propertyInfo() {
  return array(
    'search_api_url' => array(
      'label' => t('URI'),
      'description' => t('An URI where the item can be accessed.'),
      'type' => 'uri',
    ),
  );
}