You are here

public function HeartbeatBasePlugin::__construct in Heartbeat 7

__construct().

1 call to HeartbeatBasePlugin::__construct()
HeartbeatActivityCommentsPlugin::__construct in modules/heartbeat_comments/plugins/activitycomments.inc
__construct().
1 method overrides HeartbeatBasePlugin::__construct()
HeartbeatActivityCommentsPlugin::__construct in modules/heartbeat_comments/plugins/activitycomments.inc
__construct().

File

modules/heartbeat_plugins/includes/heartbeat_plugin.inc, line 129

Class

HeartbeatBasePlugin
abstract class HeartbeatBasePlugin.

Code

public function __construct($label, $settings) {
  $this
    ->setLabel($label);
  $this
    ->addSettings($settings);
}