You are here

public function FieldEncryptEntityType::hasBaseField in Field Encryption 3.0.x

Determines if the base field is set to be encrypted.

Parameters

string $field_name: The base field name.

Return value

bool TRUE if the base field is set to be encrypted, FALSE if not.

File

src/Entity/FieldEncryptEntityType.php, line 71

Class

FieldEncryptEntityType
Defines the Field Encrypt entity type configuration entity.

Namespace

Drupal\field_encrypt\Entity

Code

public function hasBaseField(string $field_name) {
  return isset($this->base_fields[$field_name]);
}