Turns a render array into a placeholder.
Hierarchy
- class \Drupal\Core\Render\PlaceholderGenerator implements PlaceholderGeneratorInterface
 
File
- core/lib/Drupal/Core/Render/PlaceholderGenerator.php, line 12
 
Namespace
Drupal\Core\Render
Members
| Name | Modifiers | Type | Description | 
|---|---|---|---|
| PlaceholderGenerator::$rendererConfig | protected | property | The renderer configuration array. | 
| PlaceholderGenerator::canCreatePlaceholder | public | function | Analyzes whether the given render array can be placeholdered. Overrides PlaceholderGeneratorInterface::canCreatePlaceholder | 
| PlaceholderGenerator::createPlaceholder | public | function | Turns the given element into a placeholder. Overrides PlaceholderGeneratorInterface::createPlaceholder | 
| PlaceholderGenerator::shouldAutomaticallyPlaceholder | public | function | Whether the given render array should be automatically placeholdered. Overrides PlaceholderGeneratorInterface::shouldAutomaticallyPlaceholder | 
| PlaceholderGenerator::__construct | public | function | Constructs a new Placeholder service. | 
Please login to continue.