public function Field::getDataTypeManager in Search API 8
Retrieves the data type manager.
Return value
\Drupal\search_api\DataType\DataTypePluginManager The data type manager.
1 call to Field::getDataTypeManager()
- Field::getDataTypePlugin in src/
Item/ Field.php - Retrieves the Search API data type plugin for this field's type.
File
- src/
Item/ Field.php, line 200
Class
- Field
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function getDataTypeManager() {
return $this->dataTypeManager ?: \Drupal::service('plugin.manager.search_api.data_type');
}