public function WebformEntityInjectionTrait::getWebform in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformEntityInjectionTrait.php \Drupal\webform\Plugin\WebformEntityInjectionTrait::getWebform()
Get the webform that this handler is attached to.
Return value
\Drupal\webform\WebformInterface A webform.
18 calls to WebformEntityInjectionTrait::getWebform()
- ExampleWebformVariant::applyVariant in modules/
webform_example_variant/ src/ Plugin/ WebformVariant/ ExampleWebformVariant.php - Apply variant to the webform.
- OptionsLimitWebformHandler::getElements in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Get key/value array of webform options or boolean elements.
- OptionsLimitWebformHandler::getTableSelectElements in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Get table select elements.
- OptionsLimitWebformHandler::getTotalQuery in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Get base query for options and boolean limit totals.
- OverrideWebformVariant::applyVariant in src/
Plugin/ WebformVariant/ OverrideWebformVariant.php - Apply variant to the webform.
File
- src/
Plugin/ WebformEntityInjectionTrait.php, line 48
Class
- WebformEntityInjectionTrait
- Provides an webform/webform submission entity inject trait.
Namespace
Drupal\webform\PluginCode
public function getWebform() {
return $this->webform;
}