You are here

public function HeartbeatMessageTemplate::hasRoleRestrictions in Heartbeat 7

hasRoleRestrictions().

Function to check if there are roles restrictrions for this template

File

includes/heartbeatmessagetemplate.inc, line 151
HeartbeatMessageTemplate Template object that holds configuration for a message template. A HeartbeatActivity object will be able to have the template as composite.

Class

HeartbeatMessageTemplate
Class HeartbeatMessageTemplate

Code

public function hasRoleRestrictions() {
  return empty($this->roles);
}