protected function LingotekMetadataEditForm::getEditedFieldNames in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 4.0.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.0.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.1.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.2.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.3.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.4.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.5.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.6.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.7.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
- 3.8.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getEditedFieldNames()
Gets the names of all fields edited in the form.
If the entity form customly adds some fields to the form (i.e. without using the form display), it needs to add its fields here and override flagViolations() for displaying the violations.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
string[] An array of field names.
Overrides ContentEntityForm::getEditedFieldNames
File
- src/
Form/ LingotekMetadataEditForm.php, line 221
Class
Namespace
Drupal\lingotek\FormCode
protected function getEditedFieldNames(FormStateInterface $form_state) {
return [];
}