public function AjaxRenderer::__construct

public AjaxRenderer::__construct(ElementInfoManagerInterface $element_info_manager)

Constructs a new AjaxRenderer instance.

Parameters

\Drupal\Core\Render\ElementInfoManagerInterface $element_info_manager: The element info manager.

File

core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php, line 38

Class

AjaxRenderer
Default main content renderer for Ajax requests.

Namespace

Drupal\Core\Render\MainContent

Code

public function __construct(ElementInfoManagerInterface $element_info_manager) {
  $this->elementInfoManager = $element_info_manager;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!MainContent!AjaxRenderer.php/function/AjaxRenderer::__construct/8.1.x