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

Breadcrumb

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

function FragmentHandler::addRenderer

Adds a renderer.

2 calls to FragmentHandler::addRenderer()
FragmentHandler::__construct in vendor/symfony/http-kernel/Fragment/FragmentHandler.php
LazyLoadingFragmentHandler::render in vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php
Renders a URI and returns the Response content.

File

vendor/symfony/http-kernel/Fragment/FragmentHandler.php, line 52

Class

FragmentHandler
Renders a URI that represents a resource fragment.

Namespace

Symfony\Component\HttpKernel\Fragment

Code

public function addRenderer(FragmentRendererInterface $renderer) : void {
    $this->renderers[$renderer->getName()] = $renderer;
}

API Navigation

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