public function EntityFieldRenderer::setDatasourceId in Search API 8
Sets the datasource ID.
Parameters
string|null $datasource_id: The new datasource ID.
Return value
$this
File
- src/
Plugin/ views/ EntityFieldRenderer.php, line 53
Class
- EntityFieldRenderer
- Renders entity fields.
Namespace
Drupal\search_api\Plugin\viewsCode
public function setDatasourceId($datasource_id) {
$this->datasourceId = $datasource_id;
return $this;
}