You are here

public function EntityBaseFieldInfoEvent::setFields in Hook Event Dispatcher 8

Set the fields.

Parameters

static[] $fields: The fields.

File

src/Event/EntityType/EntityBaseFieldInfoEvent.php, line 72

Class

EntityBaseFieldInfoEvent
Class EntityBaseFieldInfoEvent.

Namespace

Drupal\hook_event_dispatcher\Event\EntityType

Code

public function setFields(array $fields) {
  $this->fields = $fields;
}