public function WebformContentCreatorEntity::getEncryptionCheck in Webform Content Creator 2.x
Same name and namespace in other branches
- 8 src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getEncryptionCheck()
- 3.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getEncryptionCheck()
Returns the encryption method.
Return value
bool true, when an encryption profile is used. Otherwise, returns false.
Overrides WebformContentCreatorInterface::getEncryptionCheck
1 call to WebformContentCreatorEntity::getEncryptionCheck()
- WebformContentCreatorEntity::getDecryptionFromProfile in src/
Entity/ WebformContentCreatorEntity.php - Get decrypted value with the configured encryption profile.
File
- src/
Entity/ WebformContentCreatorEntity.php, line 282
Class
- WebformContentCreatorEntity
- Defines the Webform Content Creator entity.
Namespace
Drupal\webform_content_creator\EntityCode
public function getEncryptionCheck() {
return $this
->get(WebformContentCreatorInterface::USE_ENCRYPT);
}