You are here

public function StylesDefault::pop_effect in Styles 6

Same name and namespace in other branches
  1. 6.2 includes/Styles.inc \StylesDefault::pop_effect()

File

includes/Styles.inc, line 97
Styles.inc Base class for Styles.

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

public function pop_effect() {
  $effects = $this
    ->get_effects();
  $effect = array_pop($effects);
  $this
    ->set_effects($effects);
  return $effect;
}