You are here

public function TypesInfoEvent::setTypes in Charts 8.4

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

Sets the condition definitions.

Parameters

array $types: The condition definitions.

Return value

$this

File

src/Event/TypesInfoEvent.php, line 47

Class

TypesInfoEvent
The TypesInfoEvent.

Namespace

Drupal\charts\Event

Code

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