public function Field::getType in Search API 8
Retrieves the Search API data type of this field.
Return value
string The data type of the field.
Overrides FieldInterface::getType
3 calls to Field::getType()
- Field::getDataTypePlugin in src/
Item/ Field.php - Retrieves the Search API data type plugin for this field's type.
- Field::getSettings in src/
Item/ Field.php - Retrieves all settings encapsulated in this field as an array.
- Field::__toString in src/
Item/ Field.php - Implements the magic __toString() method to simplify debugging.
File
- src/
Item/ Field.php, line 508
Class
- Field
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function getType() {
return $this->type;
}