You are here

protected function LingotekSettingsTabProfilesEditForm::retrieveProfileFromUrl in Lingotek Translation 8

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

File

src/Form/LingotekSettingsTabProfilesEditForm.php, line 162
Contains \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm.

Class

LingotekSettingsTabProfilesEditForm
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

protected function retrieveProfileFromUrl() {
  if (isset($_GET['profile_choice']) and isset($_GET['profile_index']) and isset($_GET['profile_usage'])) {
    $this->profile = LingotekProfile::load($_GET['profile_choice']);
    $this->profile_index = $_GET['profile_index'];
    $this->profile_usage = 1;

    // $_GET['profile_usage'];
  }
}