You are here

public function FieldsHelperInterface::retrieveNestedProperty in Search API 8

Retrieves a nested property from a list of properties.

Parameters

\Drupal\Core\TypedData\DataDefinitionInterface[] $properties: The base properties, keyed by property name.

string $propertyPath: The property path of the property to retrieve.

Return value

\Drupal\Core\TypedData\DataDefinitionInterface|null The requested property, or NULL if it couldn't be found.

1 method overrides FieldsHelperInterface::retrieveNestedProperty()
FieldsHelper::retrieveNestedProperty in src/Utility/FieldsHelper.php
Retrieves a nested property from a list of properties.

File

src/Utility/FieldsHelperInterface.php, line 120

Class

FieldsHelperInterface
Provides an interface for implementations of the fields helper service.

Namespace

Drupal\search_api\Utility

Code

public function retrieveNestedProperty(array $properties, $propertyPath);