protected function LingotekTargetStatuses::getDestinationWithQueryArray in Lingotek Translation 8.2
Same name and namespace in other branches
- 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.3.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.
1 call to LingotekTargetStatuses::getDestinationWithQueryArray()
- LingotekTargetStatuses::getTargetActionUrl in src/
Element/ LingotekTargetStatuses.php - Get the target action url based on the source status.
File
- src/
Element/ LingotekTargetStatuses.php, line 239
Class
- LingotekTargetStatuses
- Provides a Lingotek target status element.
Namespace
Drupal\lingotek\ElementCode
protected function getDestinationWithQueryArray() {
return [
'destination' => \Drupal::request()
->getRequestUri(),
];
}