You are here

public function ResultSetInterface::getExtraData in Search API 8

Retrieves extra data for this search result.

Parameters

string $key: The key of the extra data.

mixed $default: (optional) The value to return if the data is not set.

Return value

mixed The data set for that key, or $default if the data is not present.

1 method overrides ResultSetInterface::getExtraData()
ResultSet::getExtraData in src/Query/ResultSet.php
Retrieves extra data for this search result.

File

src/Query/ResultSetInterface.php, line 164

Class

ResultSetInterface
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function getExtraData($key, $default = NULL);