You are here

public function FieldFormatterInfoAlterEvent::__construct in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/field_event_dispatcher/src/Event/Field/FieldFormatterInfoAlterEvent.php \Drupal\field_event_dispatcher\Event\Field\FieldFormatterInfoAlterEvent::__construct()

FieldFormatterInfoAlterEvent constructor.

Parameters

array &$info: An array of information on existing field formatter types.

File

modules/field_event_dispatcher/src/Event/Field/FieldFormatterInfoAlterEvent.php, line 27

Class

FieldFormatterInfoAlterEvent
Class FieldFormatterInfoAlterEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

public function __construct(array &$info) {
  $this->info =& $info;
}