public function WebformGroupManager::getCurrentGroupWebform in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_group/src/WebformGroupManager.php \Drupal\webform_group\WebformGroupManager::getCurrentGroupWebform()
Get the group webform for the current request.
Return value
\Drupal\webform\WebformInterface|null The group webform for the current request.
Overrides WebformGroupManagerInterface::getCurrentGroupWebform
File
- modules/
webform_group/ src/ WebformGroupManager.php, line 224
Class
- WebformGroupManager
- Webform group manager manager.
Namespace
Drupal\webform_groupCode
public function getCurrentGroupWebform() {
return $this
->getCurrentGroupContent() ? $this->requestHandler
->getCurrentWebform() : NULL;
}