RenderCallbackInterface.php 547 B

1234567891011121314151617
  1. <?php
  2. namespace Drupal\Core\Render\Element;
  3. /**
  4. * Indicates all public methods are safe to use in render callbacks.
  5. *
  6. * This should only be used when all public methods on the class are supposed to
  7. * used as render callbacks or the class implements ElementInterface. If this is
  8. * not the case then use TrustedCallbackInterface instead.
  9. *
  10. * @see \Drupal\Core\Render\Element\ElementInterface
  11. * @see \Drupal\Core\Security\TrustedCallbackInterface
  12. * @see \Drupal\Core\Render\Renderer::doCallback()
  13. */
  14. interface RenderCallbackInterface {
  15. }