public function EncryptionMethodBase::canDecrypt in Encrypt 8.3
Define if encryption method can also decrypt.
Return value
bool TRUE if encryption method decrypt, FALSE otherwise.
Overrides EncryptionMethodInterface::canDecrypt
File
- src/
Plugin/ EncryptionMethod/ EncryptionMethodBase.php, line 75
Class
- EncryptionMethodBase
- Provides a base class for EncryptionMethod plugins.
Namespace
Drupal\encrypt\Plugin\EncryptionMethodCode
public function canDecrypt() {
return $this->pluginDefinition['can_decrypt'];
}