public addStyleSheet ( $name, $style, $args = [] ) | ||
$name | string Unique name for the stylesheet | |
$style | string The stylesheet to be included. Should be a URL or, if the `inline` argument is included, stylesheet data to be output. | |
$args | array Key/value array defining display details `priority` int The order in which to print this stylesheet. Default: STYLE_SEQUENCE_NORMAL `contexts` string|array Where the stylesheet should be loaded. Default: array('frontend') `inline` bool Whether the $stylesheet value should be output directly as stylesheet data. Used to pass backend data to the scripts. |