You are here

protected function LingotekSourceStatusFormatter::getDestinationWithQueryArray in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  2. 4.0.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  3. 3.0.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  4. 3.1.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  5. 3.2.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  6. 3.3.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  7. 3.4.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  8. 3.5.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  9. 3.7.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()
  10. 3.8.x src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php \Drupal\lingotek\Plugin\Field\FieldFormatter\LingotekSourceStatusFormatter::getDestinationWithQueryArray()

File

src/Plugin/Field/FieldFormatter/LingotekSourceStatusFormatter.php, line 84

Class

LingotekSourceStatusFormatter
Plugin implementation of the 'lingotek_translation_status' formatter.

Namespace

Drupal\lingotek\Plugin\Field\FieldFormatter

Code

protected function getDestinationWithQueryArray() {
  return [
    'destination' => \Drupal::request()
      ->getRequestUri(),
  ];
}