public function TextimageFactoryInterface::processTokens in Textimage 8.4
Same name and namespace in other branches
- 8.3 src/TextimageFactoryInterface.php \Drupal\textimage\TextimageFactoryInterface::processTokens()
Textimage tokens replacement.
Parameters
string $key: The Textimage token key within the main token [textimage:key:...]. Key can take 'uri' or 'url' values.
array $tokens: The tokens to resolve.
array $data: Token data array.
\Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata: The bubbleable metadata.
Return value
array An array of token replacements.
1 method overrides TextimageFactoryInterface::processTokens()
- TextimageFactory::processTokens in src/
TextimageFactory.php - Textimage tokens replacement.
File
- src/
TextimageFactoryInterface.php, line 126
Class
- TextimageFactoryInterface
- Provides an interface for TextimageFactory.
Namespace
Drupal\textimageCode
public function processTokens($key, array $tokens, array $data, BubbleableMetadata $bubbleable_metadata);