public function DatasourceInterface::load in Search API 8
Loads an item.
Parameters
mixed $id: The datasource-specific ID of the item.
Return value
\Drupal\Core\TypedData\ComplexDataInterface|null The loaded item if it could be found, NULL otherwise.
1 method overrides DatasourceInterface::load()
- DatasourcePluginBase::load in src/
Datasource/ DatasourcePluginBase.php - Loads an item.
File
- src/
Datasource/ DatasourceInterface.php, line 55
Class
- DatasourceInterface
- Describes a source for search items.
Namespace
Drupal\search_api\DatasourceCode
public function load($id);