You are here

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

Removes a base field from the configuration.

Parameters

string $field_name: The base field name.

Return value

$this

File

src/Entity/FieldEncryptEntityType.php, line 108

Class

FieldEncryptEntityType
Defines the Field Encrypt entity type configuration entity.

Namespace

Drupal\field_encrypt\Entity

Code

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