public function WebformGroupManager::getCurrentGroupWebform in Webform 8.5
Same name and namespace in other branches
- 6.x 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 228
Class
- WebformGroupManager
- Webform group manager manager.
Namespace
Drupal\webform_groupCode
public function getCurrentGroupWebform() {
return $this
->getCurrentGroupContent() ? $this->requestHandler
->getCurrentWebform() : NULL;
}