TranslateEditForm::getFormId

public TranslateEditForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/locale/src/Form/TranslateEditForm.php, line 17 Class TranslateEditForm Defines a translation edit form. Namespace Drupal\locale\Form Code public function getFormId() { return 'locale_translate_edit_form'; }

TranslateEditForm::submitForm

public TranslateEditForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/locale/src/Form/TranslateEditForm.php, line 170 Class TranslateEditForm Defines a translation edit form. Namespace Drupal\locale\Form Code public function subm

TranslateEditForm::validateForm

public TranslateEditForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/locale/src/Form/TranslateEditForm.php, line 154 Class TranslateEditForm Defines a translation edit form. Namespace Drupal\locale\Form Code public function valid

TranslateFilterForm

Provides a filtered translation edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Form\TranslateFormBaseclass \Drupal\locale\Form\TranslateFilterForm File core/modules/locale/src/Form/TranslateFilterForm.php, line 10 Namespace Drupal\locale\Form Members Name Modif

TranslateFilterForm::buildForm

public TranslateFilterForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/locale/src/Form/TranslateFilterForm.php, line 22 Class TranslateFilterForm Provides a filtered translation edit form. Namespace Drup

TranslateFilterForm::getFormId

public TranslateFilterForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/locale/src/Form/TranslateFilterForm.php, line 15 Class TranslateFilterForm Provides a filtered translation edit form. Namespace Drupal\locale\Form Code public function getFormId() { return 'locale_translate_filter_form'; }

TranslateFilterForm::resetForm

public TranslateFilterForm::resetForm(array &$form, FormStateInterface $form_state) Provides a submit handler for the reset button. File core/modules/locale/src/Form/TranslateFilterForm.php, line 95 Class TranslateFilterForm Provides a filtered translation edit form. Namespace Drupal\locale\Form Code public function resetForm(array &$form, FormStateInterface $form_state) { $_SESSION['locale_translate_filter'] = array(); $form_state->setRedirect('locale.translate_page');

TranslateFilterForm::submitForm

public TranslateFilterForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/locale/src/Form/TranslateFilterForm.php, line 82 Class TranslateFilterForm Provides a filtered translation edit form. Namespace Drupal\locale\Form Code publi

TranslateFormBase

Defines the locale user interface translation form base. Provides methods for searching and filtering strings. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Form\TranslateFormBase File core/modules/locale/src/Form/TranslateFormBase.php, line 16 Namespace Drupal\locale\Form M

TranslateFormBase::$filterValues

File core/modules/locale/src/Form/TranslateFormBase.php, line 44 Class TranslateFormBase Defines the locale user interface translation form base. Namespace Drupal\locale\Form Code protected static $filterValues;