Rules Mastery 52 -- Adding globally available properties (task)
Channel: Johan Falk
Date: 16/03/2012

The first task will be to make the list of words *globally* available to Rules, by making it a part of the 'site' pseudo entity. Some hints:

* You will need to implement hook_entity_property_info_alter (see http://drupalcontrib.org/api/drupal/contributions!entity!entity.api.php/function/hook_entity_property_info_alter/7).
* You will need to write your own 'getter callback' function.
* An array of the stored words can be fetched with variable_get('rulescoding_words').

(This video is a part of the training found at http://denver2012.drupal.org/content/rules-mastery.)