collectPluginJavascript example


    public function collectJavascriptFiles(Shop\Template $template, Shop\Shop $shop)
    {
        $inheritances = $this->inheritance->buildInheritances($template);

        $definitions = $this->collectInheritanceJavascript($inheritances['bare']);

        $definitions = array_merge(
            $definitions,
            $this->collectPluginJavascript($shop$template)
        );

        $definitions = array_merge(
            $definitions,
            $this->collectInheritanceJavascript($inheritances['custom'])
        );

        $discardJs = [];

        for ($i = \count($definitions) - 1; $i >= 0; --$i) {
            $definition = $definitions[$i];

            
Home | Imprint | This part of the site doesn't use cookies.