function template_preprocess_lingotek_source_status in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8.2 lingotek.module \template_preprocess_lingotek_source_status()
- 3.0.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.1.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.2.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.3.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.4.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.5.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.6.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.7.x lingotek.module \template_preprocess_lingotek_source_status()
- 3.8.x lingotek.module \template_preprocess_lingotek_source_status()
Prepares variables for lingotek source status formatter templates.
Default template: lingotek_source_status.html.twig.
Parameters
array $variables: An associative array containing:
- entity: The entity which status we want to display.
- status: The source status.
- status_title: The source status title.
- language: The language object.
- url: An optional \Drupal\Core\Url object.
File
- ./
lingotek.module, line 783 - Implements Drupal-related hooks for the Lingotek Translation module.
Code
function template_preprocess_lingotek_source_status(&$variables) {
}