You are here

public function HeartbeatTemplateController::load in Heartbeat 7

Implements DrupalEntityControllerInterface::load().

We make sure there is no query run, but ctools does this job for heartbeat.

Overrides DrupalDefaultEntityController::load

File

./heartbeat.entity.inc, line 200

Class

HeartbeatTemplateController
Controller class for heartbeat templates.

Code

public function load($ids = array(), $conditions = array()) {
  ctools_include('export');
  return ctools_export_load_object('heartbeat_templates', 'conditions', $conditions);
}