params['sectok'] = getSecurityToken(); } /** * Get label from plugin language file * * @return string */ public function getLabel() { $plugin = plugin_load('action', $this->type); return $plugin->getLang('menu_item'); } }