You are here

function rules_data_type_comment::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/comment.rules.inc, line 160
rules integration for the comment module

Class

rules_data_type_comment
Defines the comment data type

Code

function load($cid) {
  return _comment_load($cid);
}