function FormElementBase::create
Same name in other branches
- 9 core/modules/config_translation/src/FormElement/FormElementBase.php \Drupal\config_translation\FormElement\FormElementBase::create()
- 10 core/modules/config_translation/src/FormElement/FormElementBase.php \Drupal\config_translation\FormElement\FormElementBase::create()
- 11.x core/modules/config_translation/src/FormElement/FormElementBase.php \Drupal\config_translation\FormElement\FormElementBase::create()
Overrides ElementInterface::create
File
-
core/
modules/ config_translation/ src/ FormElement/ FormElementBase.php, line 46
Class
- FormElementBase
- Provides a common base class for form elements.
Namespace
Drupal\config_translation\FormElementCode
public static function create(TypedDataInterface $schema) {
return new static($schema);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.