You are here

public function SearchApiAlterCallbackInterface::__construct in Search API 7

Construct a data-alter callback.

Parameters

SearchApiIndex $index: The index whose items will be altered.

array $options: The callback options set for this index.

1 method overrides SearchApiAlterCallbackInterface::__construct()
SearchApiAbstractAlterCallback::__construct in includes/callback.inc
Implements SearchApiAlterCallbackInterface::__construct().

File

includes/callback.inc, line 24
Contains base definitions for data alterations.

Class

SearchApiAlterCallbackInterface
Interface representing a Search API data-alter callback.

Code

public function __construct(SearchApiIndex $index, array $options = array());