You are here

public function ResultSetInterface::hasExtraData in Search API 8

Determines whether extra data with a specific key is set on this result.

Parameters

string $key: The extra data's key.

Return value

bool TRUE if the data is set, FALSE otherwise.

1 method overrides ResultSetInterface::hasExtraData()
ResultSet::hasExtraData in src/Query/ResultSet.php
Determines whether extra data with a specific key is set on this result.

File

src/Query/ResultSetInterface.php, line 151

Class

ResultSetInterface
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function hasExtraData($key);