function template_preprocess_lingotek_target_status in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 lingotek.module \template_preprocess_lingotek_target_status()
- 4.0.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.1.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.2.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.3.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.4.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.5.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.6.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.7.x lingotek.module \template_preprocess_lingotek_target_status()
- 3.8.x lingotek.module \template_preprocess_lingotek_target_status()
Prepares variables for lingotek target status formatter templates.
Default template: lingotek_target_status.html.twig.
Parameters
array $variables: An associative array containing:
- entity: The entity which status we want to display.
- language: The language code.
- status: The status for that translation.
- url: An optional \Drupal\Core\Url object.
- new_window: A flag indicating if the link should be opened in a new window.
- status_text: The status text, mainly though for link title.
File
- ./
lingotek.module, line 795 - Implements Drupal-related hooks for the Lingotek Translation module.
Code
function template_preprocess_lingotek_target_status(&$variables) {
}