public function HeartbeatStream::setTypes in Heartbeat 8
Parameters
array use Drupal\heartbeat\Entity\HeartbeatType $types:
Overrides HeartbeatStreamInterface::setTypes
File
- src/
Entity/ HeartbeatStream.php, line 92
Class
- HeartbeatStream
- Defines the Heartbeat stream entity.
Namespace
Drupal\heartbeat\EntityCode
public function setTypes($types) {
$this
->set('types', $types);
return $this;
}