public function WebformHandlerBase::prepareForm in Webform 6.x
Same name and namespace in other branches
- 8.5 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 523
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function prepareForm(WebformSubmissionInterface $webform_submission, $operation, FormStateInterface $form_state) {
}