public function disabled($className = '')
    {
        if (!$className) {
            $className = $this->config->get('crumbs.disabled_item_class');
        }

        return $this->isDisabled() ? $className : '';
    }
public function disabled($className = '')
    {
        if (!$className) {
            $className = $this->config->get('crumbs.disabled_item_class');
        }

        return $this->isDisabled() ? $className : '';
    }
public function disabled ( $ className = '' ) { if ( ! $ className ) { $ className = $ this -> config -> get ( 'crumbs.disabled_item_class' ) ; } return $ this -> isDisabled ( ) ? $ className : '' ; }
Return disabled class name when needed.

@param string $className

@return mixed|string
Return disabled class name when needed .