You are here

public function YamlFormElementBase::getInfo in YAML Form 8

Retrieves the default properties for the defined element type.

Return value

array An associative array describing the element types being defined.

Overrides YamlFormElementInterface::getInfo

See also

\Drupal\Core\Render\ElementInfoManagerInterface::getInfo

File

src/YamlFormElementBase.php, line 322

Class

YamlFormElementBase
Provides a base class for a form element.

Namespace

Drupal\yamlform

Code

public function getInfo() {
  return $this->elementInfo
    ->getInfo($this
    ->getPluginId());
}