You are here

public function LingotekBatchController::noAction in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  2. 4.0.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  3. 3.0.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  4. 3.1.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  5. 3.2.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  6. 3.3.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  7. 3.4.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  8. 3.5.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  9. 3.6.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  10. 3.7.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
  11. 3.8.x src/Controller/LingotekBatchController.php \Drupal\lingotek\Controller\LingotekBatchController::noAction()
1 call to LingotekBatchController::noAction()
LingotekBatchController::dispatch in src/Controller/LingotekBatchController.php

File

src/Controller/LingotekBatchController.php, line 99

Class

LingotekBatchController

Namespace

Drupal\lingotek\Controller

Code

public function noAction() {
  $markup = $this
    ->t('Lingotek batch operation error: You must supply a valid action.');
  return array(
    '#type' => 'markup',
    '#markup' => $markup,
  );
}