public function IndexInterface::removeDatasource in Search API 8
Removes a datasource from this index.
Parameters
string $datasource_id: The ID of the datasource to remove.
Return value
$this
2 methods override IndexInterface::removeDatasource()
- Index::removeDatasource in src/
Entity/ Index.php - Removes a datasource from this index.
- UnsavedIndexConfiguration::removeDatasource in src/
UnsavedIndexConfiguration.php - Removes a datasource from this index.
File
- src/
IndexInterface.php, line 179
Class
- IndexInterface
- Defines the interface for index entities.
Namespace
Drupal\search_apiCode
public function removeDatasource($datasource_id);