You are here

function rules_link_get_paramters in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link.module \rules_link_get_paramters()
3 calls to rules_link_get_paramters()
rules_link_access_link in ./rules_link.module
Access callback function for the token and javascript links.
rules_link_access_link_confirm in ./rules_link.module
Access callback function for confirm type links.
rules_link_trigger in ./rules_link.module
Triggers a rule set from a rules link.

File

./rules_link.module, line 295
Rules Link - module file.

Code

function rules_link_get_paramters($rules_link) {
  $args = arg();

  // Remove the first arguments, that represent the url of the link.
  $path_args = explode('/', $rules_link->path);
  $args = array_slice($args, count($path_args));
  return $args;
}