public function getPluginsConfig()
    {
        $config = [
            'block'     => [],
            'container' => [],
        ];
        foreach ($this->pluginRegistry->getBlockPlugins() as $plugin) {
            $config['block'][] = [
                'name'  => $plugin->getName(),
                'title' => $plugin->getTitle(),
                'path'  => $plugin->getJavascriptFilePath(),
            ];
        }
        foreach ($this->pluginRegistry->getContainerPlugins() as $plugin) {
            $config['container'][] = [
                'name'  => $plugin->getName(),
                'title' => $plugin->getTitle(),
                'path'  => $plugin->getJavascriptFilePath(),
            ];
        }

        return $config;
    }
public function getPluginsConfig()
    {
        $config = [
            'block'     => [],
            'container' => [],
        ];
        foreach ($this->pluginRegistry->getBlockPlugins() as $plugin) {
            $config['block'][] = [
                'name'  => $plugin->getName(),
                'title' => $plugin->getTitle(),
                'path'  => $plugin->getJavascriptFilePath(),
            ];
        }
        foreach ($this->pluginRegistry->getContainerPlugins() as $plugin) {
            $config['container'][] = [
                'name'  => $plugin->getName(),
                'title' => $plugin->getTitle(),
                'path'  => $plugin->getJavascriptFilePath(),
            ];
        }

        return $config;
    }
public function getPluginsConfig ( ) { $ config = [ 'block' => [ ] , 'container' => [ ] , ] ; foreach ( $ this -> pluginRegistry -> getBlockPlugins ( ) as $ plugin ) { $ config [ 'block' ] [ ] = [ 'name' => $ plugin -> getName ( ) , 'title' => $ plugin -> getTitle ( ) , 'path' => $ plugin -> getJavascriptFilePath ( ) , ] ; } foreach ( $ this -> pluginRegistry -> getContainerPlugins ( ) as $ plugin ) { $ config [ 'container' ] [ ] = [ 'name' => $ plugin -> getName ( ) , 'title' => $ plugin -> getTitle ( ) , 'path' => $ plugin -> getJavascriptFilePath ( ) , ] ; } return $ config ; }
Returns the plugins configuration.

@return array
Returns the plugins configuration .