protected function LingotekTargetStatuses::getDestinationWithQueryArray in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8.2 src/Element/LingotekTargetStatuses.php \Drupal\lingotek\Element\LingotekTargetStatuses::getDestinationWithQueryArray()
- 3.0.x src/Element/LingotekTargetStatuses.php \Drupal\lingotek\Element\LingotekTargetStatuses::getDestinationWithQueryArray()
- 3.1.x src/Element/LingotekTargetStatuses.php \Drupal\lingotek\Element\LingotekTargetStatuses::getDestinationWithQueryArray()
- 3.2.x src/Element/LingotekTargetStatuses.php \Drupal\lingotek\Element\LingotekTargetStatuses::getDestinationWithQueryArray()
- 3.4.x src/Element/LingotekTargetStatuses.php \Drupal\lingotek\Element\LingotekTargetStatuses::getDestinationWithQueryArray()
- 3.5.x src/Element/LingotekTargetStatuses.php \Drupal\lingotek\Element\LingotekTargetStatuses::getDestinationWithQueryArray()
Get a destination query with the current uri.
Return value
array A valid query array for the Url construction.
2 calls to LingotekTargetStatuses::getDestinationWithQueryArray()
- LingotekTargetStatuses::getTargetActionUrl in src/
Element/ LingotekTargetStatuses.php - Get the target action url based on the source status.
- LingotekTargetStatuses::getTargetActionUrlForUI in src/
Element/ LingotekTargetStatuses.php
File
- src/
Element/ LingotekTargetStatuses.php, line 332
Class
- LingotekTargetStatuses
- Provides a Lingotek target status element.
Namespace
Drupal\lingotek\ElementCode
protected function getDestinationWithQueryArray() {
return [
'destination' => \Drupal::request()
->getRequestUri(),
];
}