public function SearchApiDummyService::fieldsUpdated in Search API 7
Notifies the server that the field settings for the index have changed.
If any user action is necessary as a result of this, the method should use drupal_set_message() to notify the user.
Parameters
SearchApiIndex $index: The updated index.
Return value
bool TRUE, if this change affected the server in any way that forces it to re-index the content. FALSE otherwise.
Throws
SearchApiException If an error occurred while reacting to the change of fields.
Overrides SearchApiServiceInterface::fieldsUpdated
File
- tests/
search_api_test_2.module, line 102 - Provides a second test service and server for testing Search API.
Class
- SearchApiDummyService
- Dummy service for testing.
Code
public function fieldsUpdated(SearchApiIndex $index) {
return FALSE;
}