8 string references to link_generator in Drupal 9
- Drupal::linkGenerator in core/
lib/ Drupal.php - Returns the link generator service.
- DrupalTest::testLinkGenerator in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the linkGenerator() method.
- EngineTwigTest::testTwigLinkGenerator in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the link_generator Twig functions.
- EntityLinkTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityLinkTest.php - Link::getLinkGenerator in core/
lib/ Drupal/ Core/ Link.php - Returns the link generator.
- Link::preRenderLink in core/
lib/ Drupal/ Core/ Render/ Element/ Link.php - Pre-render callback: Renders a link into #markup.
- MenuForm::create in core/
modules/ menu_ui/ src/ MenuForm.php - Instantiates a new instance of this class.
- ResponsiveImageFormatter::create in core/
modules/ responsive_image/ src/ Plugin/ Field/ FieldFormatter/ ResponsiveImageFormatter.php - Creates an instance of the plugin.