public static function getComponentDescription($component)
    {
        $details = $component->componentDetails();
        $name = $details['description'] ?? 'cms::lang.component.no_description';

        return Lang::get($name);
    }
public static function getComponentDescription($component)
    {
        $details = $component->componentDetails();
        $name = $details['description'] ?? 'cms::lang.component.no_description';

        return Lang::get($name);
    }
public static function getComponentDescription ( $ component ) { $ details = $ component -> componentDetails ( ) ; $ name = $ details [ 'description' ] ?? 'cms::lang.component.no_description' ; return Lang :: get ( $ name ) ; }
Returns a component description.
@param mixed $component The component object
@return string
Returns a component description .