You are here

public function YamlFormWizardPage::getDefaultProperties in YAML Form 8

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

Overrides Details::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/YamlFormWizardPage.php, line 22

Class

YamlFormWizardPage
Provides a 'yamlform_wizard_page' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getDefaultProperties() {
  return [
    // Page settings.
    'title' => '',
    'open' => FALSE,
    'prev_button_label' => '',
    'next_button_label' => '',
  ];
}