PlaceholderGenerator

Turns a render array into a placeholder.

Hierarchy

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.
doc_Drupal
2016-10-29 09:34:08
Comments
Leave a Comment

Please login to continue.