public function EncryptedFieldValueManagerInterface::getExistingEntity in Field Encryption 8.2
Loads an existing EncryptedFieldValue entity.
@fixme have its own custom method ...
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity to check.
string $field_name: The field name to check.
int $delta: The field delta to check.
string $property: The field property to check.
Return value
bool|\Drupal\field_encrypt\Entity\EncryptedFieldValue The existing EncryptedFieldValue entity.
1 method overrides EncryptedFieldValueManagerInterface::getExistingEntity()
- EncryptedFieldValueManager::getExistingEntity in src/
EncryptedFieldValueManager.php - Loads an existing EncryptedFieldValue entity.
File
- src/
EncryptedFieldValueManagerInterface.php, line 75
Class
- EncryptedFieldValueManagerInterface
- Interface EncryptedFieldValueManagerInterface.
Namespace
Drupal\field_encryptCode
public function getExistingEntity(ContentEntityInterface $entity, $field_name, $delta, $property);