On this page
public function 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\RenderCode
public function canCreatePlaceholder(array $element);
© 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!PlaceholderGeneratorInterface.php/function/PlaceholderGeneratorInterface::canCreatePlaceholder/8.1.x