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

Breadcrumb

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

function RoutableFragmentRenderer::setFragmentPath

Sets the fragment path that triggers the fragment listener.

See also

FragmentListener

File

vendor/symfony/http-kernel/Fragment/RoutableFragmentRenderer.php, line 35

Class

RoutableFragmentRenderer
Adds the possibility to generate a fragment URI for a given Controller.

Namespace

Symfony\Component\HttpKernel\Fragment

Code

public function setFragmentPath(string $path) : void {
    $this->fragmentPath = $path;
}

API Navigation

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