public function Breadcrumbs()
    {
        $ownerClassName = $this->OwnerClassName;

        if ($owner = $ownerClassName::get()->filter('ElementalAreaID', $this->ID)->first()) {
            return DBField::create_field('HTMLText', sprintf(
                '<a href="%s">%s</a>',
                $owner->CMSEditLink(),
                $owner->Title
            ));
        }

        return null;
    }
public function Breadcrumbs()
    {
        $ownerClassName = $this->OwnerClassName;

        if ($owner = $ownerClassName::get()->filter('ElementalAreaID', $this->ID)->first()) {
            return DBField::create_field('HTMLText', sprintf(
                '<a href="%s">%s</a>',
                $owner->CMSEditLink(),
                $owner->Title
            ));
        }

        return null;
    }
public function Breadcrumbs ( ) { $ ownerClassName = $ this -> OwnerClassName ; if ( $ owner = $ ownerClassName :: get ( ) -> filter ( 'ElementalAreaID' , $ this -> ID ) -> first ( ) ) { return DBField :: create_field ( 'HTMLText' , sprintf ( '<a href="%s">%s</a>' , $ owner -> CMSEditLink ( ) , $ owner -> Title ) ) ; } return null ; }
Necessary to display results in CMS site search.

@return DBField
Necessary to display results in CMS site search .