public function setLabelIcon($type, $config)
    {
        global $menu;
        switch ($type) {
            case 'post':
                $position = 5;
                break;
            case 'page':
                $position = 20;
                break;
        }
        if ($this->isArrayValueSet(2, $config)) {
            $icon = $config[2];
            // Append 'dashicons-' prefix if it has not been included
            if (strpos($icon, 'dashicons-') === false) {
                $icon = 'dashicons-' . $icon;
            }
            $menu[$position][6] = $icon;
        }
    }