public function TypesInfoEvent::setTypes in Charts 5.0.x
Same name and namespace in other branches
- 8.4 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\EventCode
public function setTypes(array $types) {
$this->types = $types;
return $this;
}