You are here

public function WebformInterface::hasRequired in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::hasRequired()

Determine if the webform has required elements.

Return value

bool TRUE if the webform has required elements.

1 method overrides WebformInterface::hasRequired()
Webform::hasRequired in src/Entity/Webform.php
Determine if the webform has required elements.

File

src/WebformInterface.php, line 240

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function hasRequired();