ListElement

Defines the list element for the configuration translation interface.

Hierarchy

File

core/modules/config_translation/src/FormElement/ListElement.php, line 17

Namespace

Drupal\config_translation\FormElement

Members

Name Modifiers Type Description
ListElement::$element protected property The schema element this form is for.
ListElement::create public static function Creates a form element instance from a schema definition. Overrides ElementInterface::create
ListElement::getGroupTitle protected function Returns the title for the 'details' element of a group of schema elements.
ListElement::getTranslationBuild public function Builds a render array containg the source and translation form elements. Overrides ElementInterface::getTranslationBuild
ListElement::setConfig public function Sets configuration based on a nested form value array. Overrides ElementInterface::setConfig
ListElement::__construct public function Constructs a ListElement.
StringTranslationTrait::$stringTranslation protected property The string translation service.
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use.
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
doc_Drupal
2016-10-29 09:23:31
Comments
Leave a Comment

Please login to continue.