src/Core/Render/MainContent/AjaxRendererTrait.php
public function getAjaxRenderer() {
    if (empty($this->AjaxRenderer)) {
      $this->AjaxRenderer = \Drupal::service('main_content_renderer.ajax');
    }
    return $this->AjaxRenderer;
  }
public function getAjaxRenderer() {
    if (empty($this->AjaxRenderer)) {
      $this->AjaxRenderer = \Drupal::service('main_content_renderer.ajax');
    }
    return $this->AjaxRenderer;
  }
public function getAjaxRenderer ( ) { if ( empty ( $ this -> AjaxRenderer ) ) { $ this -> AjaxRenderer = \ Drupal :: service ( 'main_content_renderer.ajax' ) ; } return $ this -> AjaxRenderer ; }
Gets the ajax renderer.

@return \Drupal\Core\Render\MainContent\MainContentRendererInterface
The ajax renderer.
Gets the ajax renderer .