setMenuIcon example

$class->setInternalName($name);

        if (isset($type['source'])) {
            $class->setSource($type['source']);
        }

        if (isset($type['showInFrontend'])) {
            $class->setShowInFrontend($type['showInFrontend']);
        }

        if (isset($type['menuIcon'])) {
            $class->setMenuIcon($type['menuIcon']);
        }

        if (isset($type['menuPosition'])) {
            $class->setMenuPosition($type['menuPosition']);
        }

        if (isset($type['menuParent'])) {
            $class->setMenuParent($type['menuParent']);
        }

        if (isset($type['custom'])) {
            
Home | Imprint | This part of the site doesn't use cookies.