You are here

public function Item::getId in Search API 8

Returns the item's ID.

Return value

string The ID of this item.

Overrides ItemInterface::getId

1 call to Item::getId()
Item::__toString in src/Item/Item.php
Implements the magic __toString() method to simplify debugging.

File

src/Item/Item.php, line 194

Class

Item
Provides a default implementation for a search item.

Namespace

Drupal\search_api\Item

Code

public function getId() {
  return $this->itemId;
}