You are here

public function FieldInterface::setIndexedLocked in Search API 8

Sets whether this field should be locked.

Parameters

bool $indexed_locked: (optional) TRUE if the field should be locked, FALSE otherwise.

Return value

$this

1 method overrides FieldInterface::setIndexedLocked()
Field::setIndexedLocked in src/Item/Field.php
Sets whether this field should be locked.

File

src/Item/FieldInterface.php, line 368

Class

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

Namespace

Drupal\search_api\Item

Code

public function setIndexedLocked($indexed_locked = TRUE);