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