You are here

public function TypesInfoEvent::__construct in Charts 8.4

Same name and namespace in other branches
  1. 5.0.x 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;
}