You are here

public function EntityExtraFieldInfoEvent::setFieldInfo in Hook Event Dispatcher 8

Set the field info.

Parameters

array $fieldInfo: Field info.

File

src/Event/EntityExtra/EntityExtraFieldInfoEvent.php, line 37

Class

EntityExtraFieldInfoEvent
Class EntityExtraFieldInfoEvent.

Namespace

Drupal\hook_event_dispatcher\Event\EntityExtra

Code

public function setFieldInfo(array $fieldInfo) {
  $this->fieldInfo = $fieldInfo;
}