You are here

public function SearchApiAlterNodeAccess::propertyInfo in Search API 7

Overrides SearchApiAbstractAlterCallback::propertyInfo().

Adds the "search_api_access_node" property.

Overrides SearchApiAbstractAlterCallback::propertyInfo

File

includes/callback_node_access.inc, line 27
Contains the SearchApiAlterNodeAccess class.

Class

SearchApiAlterNodeAccess
Adds node access information to node indexes.

Code

public function propertyInfo() {
  return array(
    'search_api_access_node' => array(
      'label' => t('Node access information'),
      'description' => t('Data needed to apply node access.'),
      'type' => 'list<token>',
    ),
  );
}