function commons_follow_plugin_argument_default_node::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_node.inc, line 14 - Holds the class defining the Views plugin that returns the node IDS that a user has subscribed to.
Class
- commons_follow_plugin_argument_default_node
- @file Holds the class defining the Views plugin that returns the node IDS that a user has subscribed to.
Code
function get_argument() {
if (!($nids = commons_follow_get_nids())) {
return FALSE;
}
return implode(',', $nids);
}