public function WebformWizardPage::showPage in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformWizardPage.php \Drupal\webform\Plugin\WebformElement\WebformWizardPage::showPage()
Show webform wizard page.
Parameters
array $element: A webform wizard page element and its child elements.
Overrides WebformElementWizardPageInterface::showPage
File
- src/
Plugin/ WebformElement/ WebformWizardPage.php, line 173
Class
- WebformWizardPage
- Provides a 'webform_wizard_page' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function showPage(array &$element) {
// When showing a wizard page, page render it as container instead of the
// default details element.
// @see \Drupal\webform\Element\WebformWizardPage
$element['#type'] = 'container';
}