protected function LingotekIntelligenceMetadataForm::getIntelligenceMetadata in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 8.2 src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 4.0.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.0.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.1.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.2.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.3.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.4.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.5.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.6.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- 3.8.x src/Form/LingotekIntelligenceMetadataForm.php \Drupal\lingotek\Form\LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
Helper method for getting the Lingotek intelligence metadata.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
LingotekIntelligenceMetadataInterface Returns the Lingotek intelligence metadata this form applies to.
2 calls to LingotekIntelligenceMetadataForm::getIntelligenceMetadata()
- LingotekIntelligenceMetadataForm::buildForm in src/
Form/ LingotekIntelligenceMetadataForm.php - Form constructor.
- LingotekIntelligenceMetadataForm::submitForm in src/
Form/ LingotekIntelligenceMetadataForm.php - Form submission handler.
File
- src/
Form/ LingotekIntelligenceMetadataForm.php, line 362
Class
- LingotekIntelligenceMetadataForm
- Helper class for creating the form for setting up the intelligence metadata.
Namespace
Drupal\lingotek\FormCode
protected function getIntelligenceMetadata(FormStateInterface $form_state) {
$buildInfo = $form_state
->getBuildInfo();
return $buildInfo['args'][1];
}