You are here

public function ContainerBase::getFormats in YAML Form 8

Get an element's available formats.

Return value

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

Overrides YamlFormElementBase::getFormats

File

src/Plugin/YamlFormElement/ContainerBase.php, line 70

Class

ContainerBase
Provides a base 'container' class.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getFormats() {
  return [];
}