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

Breadcrumb

  1. Drupal Core 11.1.x
  2. RenderableInterface.php

function RenderableInterface::toRenderable

Returns a render array representation of the object.

Return value

mixed[] A render array.

3 methods override RenderableInterface::toRenderable()
Breadcrumb::toRenderable in core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php
Returns a render array representation of the object.
FormattedDateDiff::toRenderable in core/lib/Drupal/Core/Datetime/FormattedDateDiff.php
Returns a render array representation of the object.
Link::toRenderable in core/lib/Drupal/Core/Link.php
Returns a render array representation of the object.

File

core/lib/Drupal/Core/Render/RenderableInterface.php, line 16

Class

RenderableInterface
Defines an object which can be rendered by the Render API.

Namespace

Drupal\Core\Render

Code

public function toRenderable();

API Navigation

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