You are here

public function TypesInfoEvent::__construct in Charts 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Event/TypesInfoEvent.php \Drupal\charts\Event\TypesInfoEvent::__construct()

Constructs a new TypesInfoEvent object.

Parameters

array $types: The chart type definitions.

File

src/Event/TypesInfoEvent.php, line 25

Class

TypesInfoEvent
The TypesInfoEvent.

Namespace

Drupal\charts\Event

Code

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