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::create

public static TranslationStatusForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The se

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::createInfoString

protected TranslationStatusForm::createInfoString($project_info) Provides debug info for projects in case translation files are not found. Translations files are being fetched either from Drupal translation server and local files or only from the local filesystem depending on the "Translation source" setting at admin/config/regional/translate/settings. This method will produce debug information including the respective path(s) based on this setting. Parameters array $project_info: An array whi

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::buildForm

public TranslationStatusForm::buildForm(array $form, FormStateInterface $form_state) Form builder for displaying the current translation status. Overrides FormInterface::buildForm File core/modules/locale/src/Form/TranslationStatusForm.php, line 65 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code public function buildForm(array $form, FormStateInterface $form_state) { $languages = locale_translatable_language_list(); $status = locale

TranslationStatusForm::$state

The Drupal state storage service. Type: \Drupal\Core\State\StateInterface File core/modules/locale/src/Form/TranslationStatusForm.php, line 28 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code protected $state;

TranslationStatusForm::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/locale/src/Form/TranslationStatusForm.php, line 21 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code protected $moduleHandler;

TranslationStatusForm

Provides a translation status form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Form\TranslationStatusForm File core/modules/locale/src/Form/TranslationStatusForm.php, line 14 Namespace Drupal\locale\Form Members Name Modifiers Type Description DependencySerializa

TranslationsStream::getDirectoryPath

TranslationsStream::getDirectoryPath() Gets the path that the wrapper is responsible for. @todo Review this method name in D8 per https://www.drupal.org/node/701358. Return value string String specifying the path. Overrides LocalStream::getDirectoryPath File core/modules/locale/src/StreamWrapper/TranslationsStream.php, line 39 Class TranslationsStream Defines a Drupal translations (translations://) stream wrapper class. Namespace Drupal\locale\StreamWrapper Code function getDirectoryP