public function Field::setDataTypeManager in Search API 8
Sets the data type manager.
Parameters
\Drupal\search_api\DataType\DataTypePluginManager $data_type_manager: The new data type manager.
Return value
$this
File
- src/
Item/ Field.php, line 212
Class
- Field
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setDataTypeManager(DataTypePluginManager $data_type_manager) {
$this->dataTypeManager = $data_type_manager;
return $this;
}