You are here

public function SearchApiAlterAddUserContent::propertyInfo in Search API 7

Implements SearchApiAlterCallbackInterface::propertyInfo().

Overrides SearchApiAbstractAlterCallback::propertyInfo

File

includes/callback_user_content.inc, line 23
Contains SearchApiAlterAddUserContent.

Class

SearchApiAlterAddUserContent
Adds the nodes created by the indexed user for indexing.

Code

public function propertyInfo() {
  return array(
    'search_api_user_content' => array(
      'label' => t('User content'),
      'description' => t('The nodes created by this user'),
      'type' => 'list<node>',
    ),
  );
}