eZ\Publish\Core\FieldType\MapLocation\MapLocationStorage::getIndexData PHP Method

getIndexData() public method

public getIndexData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context )
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo
$field eZ\Publish\SPI\Persistence\Content\Field
$context array
    public function getIndexData(VersionInfo $versionInfo, Field $field, array $context)
    {
        return is_array($field->value->externalData) ? $field->value->externalData['address'] : null;
    }