Elcodi\Admin\PluginBundle\Builder\PluginMenuBuilder::filterVisiblePlugins PHP 메소드

filterVisiblePlugins() 보호된 메소드

Return only visible plugins
protected filterVisiblePlugins ( ) : Elcodi\Component\Plugin\Entity\Plugin[]
리턴 Elcodi\Component\Plugin\Entity\Plugin[] Visible plugins
    protected function filterVisiblePlugins()
    {
        return array_filter($this->enabledPlugins, function (Plugin $plugin) {
            return $plugin->getConfigurationValue('visible') && $plugin->hasFields();
        });
    }