You are here

public function StylesDefault::shiftEffect in Styles 7.2

File

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

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

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