You are here

public function YamlFormMarkupBase::getDefaultProperties in YAML Form 8

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

Overrides YamlFormElementBase::getDefaultProperties

See also

\Drupal\yamlform\Plugin\YamlFormElement\Textarea

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormLikert

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormCompositeBase

\Drupal\yamlform\Plugin\YamlFormElement\ContainerBase

3 calls to YamlFormMarkupBase::getDefaultProperties()
ProcessedText::getDefaultProperties in src/Plugin/YamlFormElement/ProcessedText.php
Only a few elements don't inherit these default properties.
YamlFormMarkup::getDefaultProperties in src/Plugin/YamlFormElement/YamlFormMarkup.php
Only a few elements don't inherit these default properties.
YamlFormMessage::getDefaultProperties in src/Plugin/YamlFormElement/YamlFormMessage.php
Only a few elements don't inherit these default properties.
3 methods override YamlFormMarkupBase::getDefaultProperties()
ProcessedText::getDefaultProperties in src/Plugin/YamlFormElement/ProcessedText.php
Only a few elements don't inherit these default properties.
YamlFormMarkup::getDefaultProperties in src/Plugin/YamlFormElement/YamlFormMarkup.php
Only a few elements don't inherit these default properties.
YamlFormMessage::getDefaultProperties in src/Plugin/YamlFormElement/YamlFormMessage.php
Only a few elements don't inherit these default properties.

File

src/Plugin/YamlFormElement/YamlFormMarkupBase.php, line 31

Class

YamlFormMarkupBase
Provides a base 'markup' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getDefaultProperties() {
  return [
    // Markup settings.
    'display_on' => 'form',
  ] + $this
    ->getDefaultBaseProperties();
}