You are here

function rules_events_argument_taxonomy_term_unchanged in Rules 6

Gets the term object, that doesn't contain the modified changes

Related topics

1 string reference to 'rules_events_argument_taxonomy_term_unchanged'
rules_events_hook_taxonomy_term_arguments in rules/modules/taxonomy.rules.inc
Returns some arguments suitable for using it with a term

File

rules/modules/taxonomy.rules.inc, line 54
Rules integration for the taxonomy module.

Code

function rules_events_argument_taxonomy_term_unchanged($taxonomy_term) {
  return $taxonomy_term->tid ? taxonomy_get_term($taxonomy_term->tid) : $taxonomy_term;
}