You are here

public function StylesDefault::popEffect in Styles 7.2

File

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

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

public function popEffect() {
  $effects = $this
    ->getEffects();
  $effect = array_pop($effects);
  $this
    ->setEffects($effects);
  return $effect;
}