public function Webform::setUpdating in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::setUpdating()
Sets the webform updating state.
Setting the updating state to TRUE ensure that translated elements are not overridden
Parameters
bool $override: The updating state of the Webform.
Return value
$this
Overrides WebformInterface::setUpdating
See also
\Drupal\webform_ui\WebformUiEntityElementsForm::validateForm
1 call to Webform::setUpdating()
- Webform::postSave in src/
Entity/ Webform.php - Acts on a saved entity before the insert or update hook is invoked.
File
- src/
Entity/ Webform.php, line 590
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function setUpdating($updating = TRUE) {
$this->updating = $updating;
return $this;
}