You are here

public function FieldInterface::getOriginalFieldIdentifier in Search API 8

Returns the original field identifier of this field.

This will remember the original ID with which this field object was created even after its ID has been changed with \Drupal\search_api\Item\FieldInterface::setFieldIdentifier().

Return value

string The original identifier of this field.

1 method overrides FieldInterface::getOriginalFieldIdentifier()
Field::getOriginalFieldIdentifier in src/Item/Field.php
Returns the original field identifier of this field.

File

src/Item/FieldInterface.php, line 58

Class

FieldInterface
Represents a field on a search item that can be indexed.

Namespace

Drupal\search_api\Item

Code

public function getOriginalFieldIdentifier();