You are here

public function Webform::hasWizardPages in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Entity/Webform.php \Drupal\webform\Entity\Webform::hasWizardPages()

Determine if the webform has multi-step form wizard pages.

Return value

bool TRUE if the webform has multi-step form wizard pages.

Overrides WebformInterface::hasWizardPages

File

src/Entity/Webform.php, line 867

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function hasWizardPages() {
  return $this
    ->getNumberOfWizardPages() ? TRUE : FALSE;
}