You are here

protected function HeartbeatMessageBuilder::addError in Heartbeat 6.4

2 calls to HeartbeatMessageBuilder::addError()
HeartbeatMessageBuilder::checkAccess in includes/heartbeatmessagebuilder.inc
Function to check access on messages This behaviour is set by a heartbeat message configuration to overrule the chosen display access type
HeartbeatMessageBuilder::checkNodeAccess in includes/heartbeatmessagebuilder.inc
Check the node access.

File

includes/heartbeatmessagebuilder.inc, line 63
Strategy with access behaviour

Class

HeartbeatMessageBuilder
Class HeartbeatMessageBuilder Message builder that fetches and customizes users activity on the site. The builder takes a heartbeataccess object to handle the request to fetch the messages.

Code

protected function addError($error) {
  $this->_errors[] = $error;
  $this->_hasErrors = TRUE;
}