public function EntityBaseFieldInfoEvent::setFields in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityBaseFieldInfoEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityBaseFieldInfoEvent::setFields()
Set the fields.
Parameters
array $fields: The fields.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityBaseFieldInfoEvent.php, line 71
Class
- EntityBaseFieldInfoEvent
- Class EntityBaseFieldInfoEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function setFields(array $fields) : void {
$this->fields = $fields;
}