You are here

public function LingotekSettingsController::profileForm in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  2. 8.2 src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  3. 4.0.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  4. 3.0.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  5. 3.1.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  6. 3.2.x src/Controller/LingotekSettingsController.php \Drupal\lingotek\Controller\LingotekSettingsController::profileForm()
  7. 3.3.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 89

Class

LingotekSettingsController

Namespace

Drupal\lingotek\Controller

Code

public function profileForm() {
  if ($redirect = $this
    ->checkSetup()) {
    return $redirect;
  }
  $profiles_modal = [
    $this->formBuilder
      ->getForm(LingotekSettingsTabProfilesEditForm::class),
  ];
  return $profiles_modal;
}