You are here

public function HeartbeatFlagAttachmentPlugin::pluginAttachmentForm in Heartbeat 7

pluginAttachmentForm().

_values

Parameters

$form:

$component_type [buttons, content]:

Overrides HeartbeatBasePlugin::pluginAttachmentForm

File

modules/heartbeat_plugins/plugins/flagattachment.inc, line 250

Class

HeartbeatFlagAttachmentPlugin
Class HeartbeatFlagAttachmentPlugin.

Code

public function pluginAttachmentForm(&$form, $form_values, $component_type) {

  // If no count is available, then this plugin has no content, only buttons.
  if ($component_type == 'content' && !$this
    ->countEnabled()) {

    // unset
  }
}