You are here

function rules_data_type_taxonomy_vocab::load in Rules 6

Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.

Implement it, if your data type is identifiable.

Overrides rules_data_type::load

File

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

Class

rules_data_type_taxonomy_vocab
Defines the taxonomy vocab data type.

Code

function load($vid) {
  return taxonomy_vocabulary_load($vid);
}