public function WebformContentCreatorEntity::getEncryptionCheck in Webform Content Creator 8
Same name and namespace in other branches
- 3.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getEncryptionCheck()
- 2.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 240
Class
- WebformContentCreatorEntity
- Defines the Webform Content creator entity.
Namespace
Drupal\webform_content_creator\EntityCode
public function getEncryptionCheck() {
return $this
->get(WebformContentCreatorInterface::USE_ENCRYPT);
}