RenderCallbackInterface.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\Render\ElementFile
core/lib/Drupal/Core/Render/Element/RenderCallbackInterface.phpView source
<?php
namespace Drupal\Core\Render\Element;
/**
* Indicates all public methods are safe to use in render callbacks.
*
* This should only be used when all public methods on the class are supposed to
* used as render callbacks or the class implements ElementInterface. If this is
* not the case then use TrustedCallbackInterface instead.
*
* @see \Drupal\Core\Render\Element\ElementInterface
* @see \Drupal\Core\Security\TrustedCallbackInterface
* @see \Drupal\Core\Render\Renderer::doCallback()
*/
interface RenderCallbackInterface {
}
Interfaces
Name![]() |
Description |
---|---|
RenderCallbackInterface | Indicates all public methods are safe to use in render callbacks. |