You are here

public function EncryptionMethodBase::isDeprecated in Encrypt 8.3

Define if encryption method is deprecated.

Return value

bool TRUE if encryption method is deprecated, FALSE otherwise.

Overrides EncryptionMethodInterface::isDeprecated

File

src/Plugin/EncryptionMethod/EncryptionMethodBase.php, line 82

Class

EncryptionMethodBase
Provides a base class for EncryptionMethod plugins.

Namespace

Drupal\encrypt\Plugin\EncryptionMethod

Code

public function isDeprecated() {
  return $this->pluginDefinition['deprecated'];
}