Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

RenderCallbackInterface.php

Namespace

Drupal\Core\Render\Element

File

core/lib/Drupal/Core/Render/Element/RenderCallbackInterface.php

View 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

Title Deprecated Summary
RenderCallbackInterface Indicates all public methods are safe to use in render callbacks.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal