You are here

public function DatasourceInterface::getPropertyDefinitions in Search API 8

Retrieves the properties exposed by the underlying complex data type.

Property names have to start with a letter or an underscore, followed by any number of letters, numbers and underscores.

Return value

\Drupal\Core\TypedData\DataDefinitionInterface[] An associative array of property data types, keyed by the property name.

1 method overrides DatasourceInterface::getPropertyDefinitions()
DatasourcePluginBase::getPropertyDefinitions in src/Datasource/DatasourcePluginBase.php
Retrieves the properties exposed by the underlying complex data type.

File

src/Datasource/DatasourceInterface.php, line 44

Class

DatasourceInterface
Describes a source for search items.

Namespace

Drupal\search_api\Datasource

Code

public function getPropertyDefinitions();