public function WebformInterface::hasRequired in Webform 8.5
Same name and namespace in other branches
- 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\webformCode
public function hasRequired();