public function FieldInterface::setTypeLocked in Search API 8
Sets whether the type of this field should be locked.
Parameters
bool $type_locked: (optional) TRUE if the type of the field should be locked, FALSE otherwise.
Return value
$this
1 method overrides FieldInterface::setTypeLocked()
- Field::setTypeLocked in src/
Item/ Field.php - Sets whether the type of this field should be locked.
File
- src/
Item/ FieldInterface.php, line 387
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setTypeLocked($type_locked = TRUE);