public function WebformInterface::setOperation in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::setOperation()
Sets the webform's current operation .
Parameters
string $operation: The webform's operation.
Return value
$this
See also
\Drupal\webform\WebformSubmissionForm
1 method overrides WebformInterface::setOperation()
- Webform::setOperation in src/
Entity/ Webform.php - Sets the webform's current operation .
File
- src/
WebformInterface.php, line 300
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function setOperation($operation);