public function EncryptedFieldValueManagerTest::getEncryptedFieldValueDataProvider in Field Encryption 8.2
Data provider for testGetEncryptedFieldValue method.
Return value
array An array with data for the test method.
File
- tests/
src/ Unit/ EncryptedFieldValueManagerTest.php, line 225 - Contains \Drupal\Tests\field_encrypt\Unit\EncryptedFieldValueManagerTest.
Class
- EncryptedFieldValueManagerTest
- Unit Tests for the EncryptedFieldValueManager service.
Namespace
Drupal\Tests\field_encrypt\UnitCode
public function getEncryptedFieldValueDataProvider() {
return [
'existing' => [
TRUE,
"encrypted text",
],
'not_existing' => [
FALSE,
FALSE,
],
];
}