PlaceholderGeneratorInterface::canCreatePlaceholder

public PlaceholderGeneratorInterface::canCreatePlaceholder(array $element)

Analyzes whether the given render array can be placeholdered.

Parameters

array $element: A render array. Its #lazy_builder and #create_placeholder properties are analyzed.

Return value

bool

File

core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php, line 28

Class

PlaceholderGeneratorInterface
Defines an interface for turning a render array into a placeholder.

Namespace

Drupal\Core\Render

Code

public function canCreatePlaceholder(array $element);
doc_Drupal
2016-10-29 09:34:10
Comments
Leave a Comment

Please login to continue.