app/Module/IndividualMetadataModule.php
public function getSidebarContent(Individual $individual): string
    {
        ob_start();

        foreach ($individual->facts(static::HANDLED_FACTS) as $fact) {
            FunctionsPrintFacts::printFact($fact, $individual);
        }

        $html = ob_get_clean();

        return strip_tags($html, '<a><div><span>');
    }
public function getSidebarContent(Individual $individual): string
    {
        ob_start();

        foreach ($individual->facts(static::HANDLED_FACTS) as $fact) {
            FunctionsPrintFacts::printFact($fact, $individual);
        }

        $html = ob_get_clean();

        return strip_tags($html, '<a><div><span>');
    }
public function getSidebarContent ( Individual $ individual ) : string { ob_start ( ) ; foreach ( $ individual -> facts ( static :: HANDLED_FACTS ) as $ fact ) { FunctionsPrintFacts :: printFact ( $ fact , $ individual ) ; } $ html = ob_get_clean ( ) ; return strip_tags ( $ html , '<a><div><span>' ) ; }
Load this sidebar synchronously.

@param Individual $individual

@return string
Load this sidebar synchronously .