public function WebformInterface::deleteState in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::deleteState()
Deletes an item from the webform's state.
Parameters
string $key: The item name to delete.
1 method overrides WebformInterface::deleteState()
- Webform::deleteState in src/
Entity/ Webform.php - Deletes an item from the webform's state.
File
- src/
WebformInterface.php, line 1180
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function deleteState($key);