You are here

public function YamlFormMarkup::getDefaultProperties in YAML Form 8

Only a few elements don't inherit these default properties.

Overrides YamlFormMarkupBase::getDefaultProperties

See also

\Drupal\yamlform\Plugin\YamlFormElement\Textarea

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormLikert

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormCompositeBase

\Drupal\yamlform\Plugin\YamlFormElement\ContainerBase

File

src/Plugin/YamlFormElement/YamlFormMarkup.php, line 23

Class

YamlFormMarkup
Provides a 'yamlform_markup' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getDefaultProperties() {
  return parent::getDefaultProperties() + [
    // Markup settings.
    'markup' => '',
  ];
}