public function HeartbeatType::setBundle in Heartbeat 8
Sets the bundle targeted for this Heartbeat type
Parameters
string $variables:
Overrides HeartbeatTypeInterface::setBundle
File
- src/
Entity/ HeartbeatType.php, line 331
Class
- HeartbeatType
- Defines the Heartbeat type entity.
Namespace
Drupal\heartbeat\EntityCode
public function setBundle($bundle) {
$this
->set('bundle', $bundle);
}