public function WebformInterface::hasUserData in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::hasUserData()
Determine if the stored value for a given key exists in the webform's user data.
Parameters
string $key: The key of the data to retrieve.
Return value
bool TRUE if the stored value for a given key exists.
1 method overrides WebformInterface::hasUserData()
- Webform::hasUserData in src/
Entity/ Webform.php - Determine if the stored value for a given key exists in the webform's user data.
File
- src/
WebformInterface.php, line 1237
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function hasUserData($key);