public function EntityExtraFieldInfoEvent::setFieldInfo in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/core_event_dispatcher/src/Event/Entity/EntityExtraFieldInfoEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityExtraFieldInfoEvent::setFieldInfo()
Set the field info.
Parameters
array $fieldInfo: Field info.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityExtraFieldInfoEvent.php, line 37
Class
- EntityExtraFieldInfoEvent
- Class EntityExtraFieldInfoEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function setFieldInfo(array $fieldInfo) : void {
$this->fieldInfo = $fieldInfo;
}