function commons_follow_plugin_argument_default_message::get_argument in Drupal Commons 7.3
Get the default argument.
Overrides views_plugin_argument_default::get_argument
File
- modules/
commons/ commons_follow/ includes/ views/ handlers/ commons_follow_plugin_argument_default_message.inc, line 14 - Holds the class defining the Views plugin that returns the message IDS that a user has subscribed to.
Class
- commons_follow_plugin_argument_default_message
- @file Holds the class defining the Views plugin that returns the message IDS that a user has subscribed to.
Code
function get_argument() {
if (!($mids = commons_follow_get_followed_message_ids())) {
return FALSE;
}
return implode(',', $mids);
}