You are here

public function LingotekSettingsController::profileForm in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  2. 4.0.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  3. 3.0.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  4. 3.1.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  5. 3.2.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  6. 3.3.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  7. 3.4.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  8. 3.5.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  9. 3.6.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  10. 3.7.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  11. 3.8.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
1 string reference to 'LingotekSettingsController::profileForm'
lingotek.routing.yml in ./lingotek.routing.yml
lingotek.routing.yml

File

src/Controller/LingotekSettingsController.php, line 69

Class

LingotekSettingsController

Namespace

Drupal\lingotek\Controller

Code

public function profileForm() {
  if ($redirect = $this
    ->checkSetup()) {
    return $redirect;
  }
  $profiles_modal = array(
    $this
      ->getLingotekForm('LingotekSettingsTabProfilesEditForm'),
  );
  return $profiles_modal;
}