You are here

public function StylesDefault::arrayShift in Styles 7.2

File

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

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

public function arrayShift($variable) {
  $array = (array) $this
    ->_get($variable);
  array_shift($array);
  return $this
    ->_set($variable, $array);
}