View file src/addons/ThemeHouse/Reactions/XF/CssRenderer.php

File size: 581B
<?php

namespace ThemeHouse\Reactions\XF;

class CssRenderer extends XFCP_CssRenderer
{
    protected function getRenderParams()
    {
        $params = parent::getRenderParams();

        if ($this->includeExtraParams) {
            if ($this->app->offsetExists('thReactions')) {
                $params['thReactions'] = $this->app->container('thReactions');
            }
            if ($this->app->offsetExists('thReactionTypes')) {
                $params['thReactionTypes'] = $this->app->container('thReactionTypes');
            }
        }

        return $params;
    }
}