You are here

public function YamlFormElementInterface::getFormats in YAML Form 8

Get an element's available formats.

Return value

array An associative array of formats containing name/label pairs.

1 method overrides YamlFormElementInterface::getFormats()
YamlFormElementBase::getFormats in src/YamlFormElementBase.php
Get an element's available formats.

File

src/YamlFormElementInterface.php, line 376

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

public function getFormats();