You are here

public function DataProviderInterface::replaceFieldItemTokens in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/DataProviderInterface.php \Drupal\geolocation\DataProviderInterface::replaceFieldItemTokens()

Replace field item tokens.

Parameters

string $text: Text.

\Drupal\Core\Field\FieldItemInterface $fieldItem: Field item.

Return value

array Retrieved locations.

1 method overrides DataProviderInterface::replaceFieldItemTokens()
DataProviderBase::replaceFieldItemTokens in src/DataProviderBase.php
Replace field item tokens.

File

src/DataProviderInterface.php, line 121

Class

DataProviderInterface
Defines an interface for geolocation DataProvider plugins.

Namespace

Drupal\geolocation

Code

public function replaceFieldItemTokens($text, FieldItemInterface $fieldItem);