public function YamlFormInterface::setElementProperties in YAML Form 8
Set element properties.
Parameters
string $key: The element's key.
array $properties: An associative array of properties.
string $parent_key: (optional) The element's parent key. Only used for new elements.
Return value
$this
1 method overrides YamlFormInterface::setElementProperties()
- YamlForm::setElementProperties in src/
Entity/ YamlForm.php - Set element properties.
File
- src/
YamlFormInterface.php, line 283
Class
- YamlFormInterface
- Provides an interface defining a form entity.
Namespace
Drupal\yamlformCode
public function setElementProperties($key, array $properties, $parent_key = '');