public function YamlFormTranslationManagerInterface::getConfigElements in YAML Form 8
Get form elements for specific language.
Parameters
\Drupal\yamlform\YamlFormInterface $yamlform: A form.
string $langcode: The language code for the form elements.
bool $reset: (optional) Whether to reset the translated config cache. Defaults to FALSE.
Return value
array A form's translated elements.
1 method overrides YamlFormTranslationManagerInterface::getConfigElements()
- YamlFormTranslationManager::getConfigElements in src/
YamlFormTranslationManager.php - Get form elements for specific language.
File
- src/
YamlFormTranslationManagerInterface.php, line 24
Class
- YamlFormTranslationManagerInterface
- Defines an interface for form element translation classes.
Namespace
Drupal\yamlformCode
public function getConfigElements(YamlFormInterface $yamlform, $langcode, $reset = FALSE);