public function WebformHandlerBase::prepareForm in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::prepareForm()
Acts on an webform submission about to be shown on a webform submission form.
Parameters
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
string $operation: The current operation.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides WebformHandlerInterface::prepareForm
File
- src/
Plugin/ WebformHandlerBase.php, line 584
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function prepareForm(WebformSubmissionInterface $webform_submission, $operation, FormStateInterface $form_state) {
}