You are here

public function YamlFormInterface::getElement in YAML Form 8

Get a form's initialized element.

Parameters

string $key: The element's key.

Return value

array|null An associative array containing an initialized element.

1 method overrides YamlFormInterface::getElement()
YamlForm::getElement in src/Entity/YamlForm.php
Get a form's initialized element.

File

src/YamlFormInterface.php, line 354

Class

YamlFormInterface
Provides an interface defining a form entity.

Namespace

Drupal\yamlform

Code

public function getElement($key);