TranslationStatusForm::getFormId

public TranslationStatusForm::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/TranslationStatusForm.php, line 56 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code public function getFormId() { return 'locale_translation_status_form'; }

TranslationStatusForm::prepareUpdateData

protected TranslationStatusForm::prepareUpdateData(array $status) Prepare information about projects with available translation updates. Parameters array $status: Translation update status as an array keyed by Project ID and langcode. Return value array Translation update status as an array keyed by language code and translation update status. File core/modules/locale/src/Form/TranslationStatusForm.php, line 185 Class TranslationStatusForm Provides a translation status form. Namespace

TranslationStatusForm::submitForm

public TranslationStatusForm::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/TranslationStatusForm.php, line 265 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code publi

TranslationStatusForm::validateForm

public TranslationStatusForm::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/TranslationStatusForm.php, line 255 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code public

TranslationStatusForm::__construct

public TranslationStatusForm::__construct(ModuleHandlerInterface $module_handler, StateInterface $state) Constructs a TranslationStatusForm object. Parameters ModuleHandlerInterface $module_handler: A module handler. \Drupal\Core\State\StateInterface $state: The state service. File core/modules/locale/src/Form/TranslationStatusForm.php, line 48 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code public function __construct(ModuleHandlerInt

TranslationString

Defines the locale translation string object. This class represents a translation of a source string to a given language, thus it must have at least a 'language' which is the language code and a 'translation' property which is the translated text of the source string in the specified language. Hierarchy class \Drupal\locale\StringBase implements StringInterfaceclass \Drupal\locale\TranslationString File core/modules/locale/src/TranslationString.php, line 13 Namespace Drupal\locale Mem

TranslationString::$customized

Integer indicating whether this string is customized. Type: int File core/modules/locale/src/TranslationString.php, line 33 Class TranslationString Defines the locale translation string object. Namespace Drupal\locale Code public $customized;

TranslationString::$isNew

Boolean indicating whether the string object is new. Type: bool File core/modules/locale/src/TranslationString.php, line 40 Class TranslationString Defines the locale translation string object. Namespace Drupal\locale Code protected $isNew;

TranslationString::$language

The language code. Type: string File core/modules/locale/src/TranslationString.php, line 19 Class TranslationString Defines the locale translation string object. Namespace Drupal\locale Code public $language;

TranslationString::$translation

The string translation. Type: string File core/modules/locale/src/TranslationString.php, line 26 Class TranslationString Defines the locale translation string object. Namespace Drupal\locale Code public $translation;