public function render()
    {
        if ($this->enabled()) {
            // Only add assets if Page is HTML
            $page = $this->grav['page'];
            if (!$this->renderer || $page->templateFormat() !== 'html') {
                return $this;
            }

            $this->addDeprecations();

            echo $this->renderer->render();
        }

        return $this;
    }
public function render()
    {
        if ($this->enabled()) {
            // Only add assets if Page is HTML
            $page = $this->grav['page'];
            if (!$this->renderer || $page->templateFormat() !== 'html') {
                return $this;
            }

            $this->addDeprecations();

            echo $this->renderer->render();
        }

        return $this;
    }
public function render ( ) { if ( $ this -> enabled ( ) ) { // Only add assets if Page is HTML $ page = $ this -> grav [ 'page' ] ; if ( ! $ this -> renderer || $ page -> templateFormat ( ) !== 'html' ) { return $ this ; } $ this -> addDeprecations ( ) ; echo $ this -> renderer -> render ( ) ; } return $ this ; }
Displays the debug bar

@return $this
Displays the debug bar