You are here

public function StylesDefault::shift_effect in Styles 6

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

File

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

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

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