You are here

protected function LingotekControllerBase::getLingotekForm in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Controller/LingotekControllerBase.php \Drupal\lingotek\Controller\LingotekControllerBase::getLingotekForm()

Return a Lingotek form (convenience function)

Parameters

type $form_path:

6 calls to LingotekControllerBase::getLingotekForm()
LingotekImportController::content in src/Controller/LingotekImportController.php
Generates the import content. It has two tabs, the import form and the settings form. @author Unknown
LingotekSettingsController::content in src/Controller/LingotekSettingsController.php
LingotekSettingsController::profileForm in src/Controller/LingotekSettingsController.php
LingotekSetupController::accountPage in src/Controller/LingotekSetupController.php
Presents a connection page to Lingotek Services
LingotekSetupController::communityPage in src/Controller/LingotekSetupController.php

... See full list

File

src/Controller/LingotekControllerBase.php, line 121
Contains \Drupal\lingotek\Controller\LingotekControllerBase.

Class

LingotekControllerBase
Base class for handling all Lingotek-related routes.

Namespace

Drupal\lingotek\Controller

Code

protected function getLingotekForm($local_form_path) {
  return $this->formBuilder
    ->getForm('\\Drupal\\lingotek\\Form\\' . $local_form_path, $this->request);
}