You are here

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

Sets the base fields that are encrypted and their property settings.

Parameters

string[][] $base_fields: An array of arrays encrypted base field properties. Keyed by base field name.

Return value

$this

File

src/Entity/FieldEncryptEntityType.php, line 95

Class

FieldEncryptEntityType
Defines the Field Encrypt entity type configuration entity.

Namespace

Drupal\field_encrypt\Entity

Code

public function setBaseFields(array $base_fields) {
  $this->base_fields = $base_fields;
  return $this;
}