function backstretch_context_reaction_backstretch::execute in Backstretch 7
Same name and namespace in other branches
- 7.2 plugins/backstretch_context_reaction_backstretch.inc \backstretch_context_reaction_backstretch::execute()
File
- plugins/backstretch_context_reaction_backstretch.inc, line 18 
Class
Code
function execute() {
  foreach ($this
    ->get_contexts() as $context) {
    if (!empty($context->reactions[$this->plugin])) {
      global $conf;
      $conf['backstretch_image_url'] = $context->reactions[$this->plugin]['backstretch_url'];
    }
  }
  return array();
}