You are here

public function Database::getDataTypePluginManager in Search API 8

Retrieves the data type plugin manager.

Return value

\Drupal\search_api\DataType\DataTypePluginManager The data type plugin manager.

File

modules/search_api_db/src/Plugin/search_api/backend/Database.php, line 298

Class

Database
Indexes and searches items using the database.

Namespace

Drupal\search_api_db\Plugin\search_api\backend

Code

public function getDataTypePluginManager() {
  return $this->dataTypePluginManager ?: \Drupal::service('plugin.manager.search_api.data_type');
}