You are here

public function LinkedFieldManagerInterface::replaceToken in Linked Field 8

Replace token in text.

Parameters

string $text: The text with tokens included.

array $data: Additional context information.

array $options: An options array for the token replacement.

Return value

string String with tokens.

1 method overrides LinkedFieldManagerInterface::replaceToken()
LinkedFieldManager::replaceToken in src/LinkedFieldManager.php
Replace token in text.

File

src/LinkedFieldManagerInterface.php, line 125

Class

LinkedFieldManagerInterface
Interface LinkedFieldManagerInterface.

Namespace

Drupal\linked_field

Code

public function replaceToken($text, array $data = [], array $options = []);