You are here

public function ItemInterface::hasExtraData in Search API 8

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

Parameters

string $key: The extra data's key.

Return value

bool TRUE if the data is set, FALSE otherwise.

1 method overrides ItemInterface::hasExtraData()
Item::hasExtraData in src/Item/Item.php
Determines whether extra data with a specific key is set on this item.

File

src/Item/ItemInterface.php, line 242

Class

ItemInterface
Represents a search item being indexed or returned as a search result.

Namespace

Drupal\search_api\Item

Code

public function hasExtraData($key);