function RulesDebugLog::render

Renders the whole log.

Return value

\Drupal\Component\Render\MarkupInterface An string already rendered to HTML.

File

src/Logger/RulesDebugLog.php, line 108

Class

RulesDebugLog
Logger that stores Rules debug logs with the session service.

Namespace

Drupal\rules\Logger

Code

public function render() {
    $build = $this->build();
    return \Drupal::service('renderer')->renderPlain($build);
}