public function Webform::setOperation in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::setOperation()
Sets the webform's current operation .
Parameters
string $operation: The webform's operation.
Return value
$this
Overrides WebformInterface::setOperation
See also
\Drupal\webform\WebformSubmissionForm
File
- src/
Entity/ Webform.php, line 560
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function setOperation($operation) {
$this->operation = $operation;
return $this;
}