You are here

function template_preprocess_lingotek_source_status in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8.2 lingotek.module \template_preprocess_lingotek_source_status()
  2. 4.0.x lingotek.module \template_preprocess_lingotek_source_status()
  3. 3.0.x lingotek.module \template_preprocess_lingotek_source_status()
  4. 3.1.x lingotek.module \template_preprocess_lingotek_source_status()
  5. 3.2.x lingotek.module \template_preprocess_lingotek_source_status()
  6. 3.3.x lingotek.module \template_preprocess_lingotek_source_status()
  7. 3.4.x lingotek.module \template_preprocess_lingotek_source_status()
  8. 3.5.x lingotek.module \template_preprocess_lingotek_source_status()
  9. 3.7.x lingotek.module \template_preprocess_lingotek_source_status()
  10. 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 763
Implements Drupal-related hooks for the Lingotek Translation module.

Code

function template_preprocess_lingotek_source_status(&$variables) {
}