You are here

public function Field::isTypeLocked in Search API 8

Determines whether the type of this field should be locked.

Return value

bool TRUE if the type of this field should be locked.

Overrides FieldInterface::isTypeLocked

2 calls to Field::isTypeLocked()
Field::getSettings in src/Item/Field.php
Retrieves all settings encapsulated in this field as an array.
Field::setType in src/Item/Field.php
Sets the Search API data type of this field.

File

src/Item/Field.php, line 623

Class

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

Namespace

Drupal\search_api\Item

Code

public function isTypeLocked() {
  return (bool) $this->typeLocked;
}