public function getStyleVariant()
    {
        $style = $this->Style;
        $styles = $this->config()->get('styles');

        if (isset($styles[$style])) {
            $style = strtolower($style);
        } else {
            $style = '';
        }

        $this->extend('updateStyleVariant', $style);

        return $style;
    }
public function getStyleVariant()
    {
        $style = $this->Style;
        $styles = $this->config()->get('styles');

        if (isset($styles[$style])) {
            $style = strtolower($style);
        } else {
            $style = '';
        }

        $this->extend('updateStyleVariant', $style);

        return $style;
    }
public function getStyleVariant ( ) { $ style = $ this -> Style ; $ styles = $ this -> config ( ) -> get ( 'styles' ) ; if ( isset ( $ styles [ $ style ] ) ) { $ style = strtolower ( $ style ) ; } else { $ style = '' ; } $ this -> extend ( 'updateStyleVariant' , $ style ) ; return $ style ; }
Get a user defined style variant for this element, if available

@return string
Get a user defined style variant for this element if available