You are here

public function StylesDefault::addEffect in Styles 7.2

Add an effect to the end of the array.

An effect is an array with at least a 'name' key, which corresponds to the class function to be called during the rendering process. It will usually also contain an array of 'effects' to apply.

File

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

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

public function addEffect($effect) {
  return $this
    ->pushEffect($effect);
}