public static function ListElement::create in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/config_translation/src/FormElement/ListElement.php \Drupal\config_translation\FormElement\ListElement::create()
Creates a form element instance from a schema definition.
Parameters
\Drupal\Core\TypedData\TypedDataInterface $schema: The configuration schema.
Return value
static
Overrides ElementInterface::create
File
- core/
modules/ config_translation/ src/ FormElement/ ListElement.php, line 46 - Contains \Drupal\config_translation\FormElement\ListElement.
Class
- ListElement
- Defines the list element for the configuration translation interface.
Namespace
Drupal\config_translation\FormElementCode
public static function create(TypedDataInterface $schema) {
return new static($schema);
}