You are here

public function FieldFormatterInfoAlterEvent::getInfo 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::getInfo()

Get the existing field formatter type definitions.

Return value

array An array of information on existing field formatter types.

File

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

Class

FieldFormatterInfoAlterEvent
Class FieldFormatterInfoAlterEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

public function &getInfo() : array {
  return $this->info;
}