You are here

public function EncryptionProfileInterface::validate in Encrypt 8.3

Validate the EncryptionProfile entity.

Parameters

string $text: The text to be encrypted / decrypted.

Return value

array An array of validation errors. Empty if no errors.

1 method overrides EncryptionProfileInterface::validate()
EncryptionProfile::validate in src/Entity/EncryptionProfile.php
Validate the EncryptionProfile entity.

File

src/EncryptionProfileInterface.php, line 70

Class

EncryptionProfileInterface
Provides an interface for defining EncryptionProfile entities.

Namespace

Drupal\encrypt

Code

public function validate($text = NULL);