You are here

public function HeartbeatFlagAttachmentPlugin::getMenuItems in Heartbeat 7

getMenuItems().

Overrides HeartbeatBasePlugin::getMenuItems

File

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

Class

HeartbeatFlagAttachmentPlugin
Class HeartbeatFlagAttachmentPlugin.

Code

public function getMenuItems() {
  return array(
    'heartbeat/%ctools_js/flagged/%heartbeat_activity' => array(
      'title' => 'People who liked this',
      'type' => MENU_CALLBACK,
      'page callback' => 'heartbeat_plugins_modal_flagging_users',
      'page arguments' => array(
        1,
        3,
      ),
      'access arguments' => array(
        'access heartbeat activity profiles',
      ),
      'file' => 'includes/heartbeatflagplugin.inc',
    ),
  );
}