MainContentRendererInterface

The interface for "main content" (

_controller 

) renderers.

Classes implementing this interface are able to render the main content (as received from controllers) into a response of a certain format (HTML, JSON …) and/or in a certain decorated manner (e.g. in the case of the default HTML main content renderer: with a page display variant applied).

Hierarchy

File

core/lib/Drupal/Core/Render/MainContent/MainContentRendererInterface.php, line 16

Namespace

Drupal\Core\Render\MainContent

Members

Name Modifiers Type Description
MainContentRendererInterface::renderResponse public function Renders the main content render array into a response.
doc_Drupal
2016-10-29 09:25:18
Comments
Leave a Comment

Please login to continue.