public function FieldInterface::setFieldIdentifier in Search API 8
Sets a new field identifier for this field.
@internal Use \Drupal\search_api\IndexInterface::renameField() instead.
Parameters
string $field_id: The new identifier of the field.
Return value
$this
1 method overrides FieldInterface::setFieldIdentifier()
- Field::setFieldIdentifier in src/
Item/ Field.php - Sets a new field identifier for this field.
File
- src/
Item/ FieldInterface.php, line 70
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setFieldIdentifier($field_id);