You are here

public function isotope_reaction::execute in Isotope (with Masonry and Packery) 7.2

Same name and namespace in other branches
  1. 7 plugins/isotope_reaction.inc \isotope_reaction::execute()

Display a message to the user.

File

plugins/context/isotope_reaction.inc, line 54
Contains the isotope_reaction subclass.

Class

isotope_reaction
Expose isotope configurations as context reactions.

Code

public function execute() {
  foreach ($this
    ->get_contexts() as $k => $v) {
    if (!empty($v->reactions[$this->plugin]['config'])) {
      return $v->reactions[$this->plugin]['config'];
    }
  }
}