src/Criteria.php
public static function set_default_animation($animation)
    {
        if (in_array($animation, Config::inst()->get(__CLASS__, 'animations'))) {
            Config::modify()->set(__CLASS__, 'default_animation', $animation);
        }
    }
public static function set_default_animation($animation)
    {
        if (in_array($animation, Config::inst()->get(__CLASS__, 'animations'))) {
            Config::modify()->set(__CLASS__, 'default_animation', $animation);
        }
    }
public static function set_default_animation ( $ animation ) { if ( in_array ( $ animation , Config :: inst ( ) -> get ( __CLASS__ , 'animations' ) ) ) { Config :: modify ( ) -> set ( __CLASS__ , 'default_animation' , $ animation ) ; } }
Changes the configured default animation method
@param string $animation
Changes the configured default animation method