public static ElementInterface::create(TypedDataInterface $schema)
Creates a form element instance from a schema definition.
Parameters
\Drupal\Core\TypedData\TypedDataInterface $schema: The configuration schema.
Return value
static
File
- core/modules/config_translation/src/FormElement/ElementInterface.php, line 23
Class
- ElementInterface
- Provides an interface for configuration translation form elements.
Namespace
Drupal\config_translation\FormElement
Code
public static function create(TypedDataInterface $schema);
Please login to continue.