public function PlaceholderGenerator::__construct
public PlaceholderGenerator::__construct(array $renderer_config)
Constructs a new Placeholder service.
Parameters
array $renderer_config: The renderer configuration array.
File
- core/lib/Drupal/Core/Render/PlaceholderGenerator.php, line 27
Class
- PlaceholderGenerator
- Turns a render array into a placeholder.
Namespace
Drupal\Core\RenderCode
public function __construct(array $renderer_config) { $this->rendererConfig = $renderer_config; }
© 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!PlaceholderGenerator.php/function/PlaceholderGenerator::__construct/8.1.x