public function PlaceholderGenerator::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Render/PlaceholderGenerator.php \Drupal\Core\Render\PlaceholderGenerator::__construct()
Constructs a new Placeholder service.
Parameters
array $renderer_config: The renderer configuration array.
File
- core/
lib/ Drupal/ Core/ Render/ PlaceholderGenerator.php, line 32 - Contains \Drupal\Core\Render\PlaceholderGenerator.
Class
- PlaceholderGenerator
- Turns a render array into a placeholder.
Namespace
Drupal\Core\RenderCode
public function __construct(array $renderer_config) {
$this->rendererConfig = $renderer_config;
}