You are here

class GeneratedNoLink in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/GeneratedNoLink.php \Drupal\Core\GeneratedNoLink
  2. 9 core/lib/Drupal/Core/GeneratedNoLink.php \Drupal\Core\GeneratedNoLink

This class holds a <span> generated from the <nolink> route.

Hierarchy

Expanded class hierarchy of GeneratedNoLink

2 files declare their use of GeneratedNoLink
LinkGenerator.php in core/lib/Drupal/Core/Utility/LinkGenerator.php
LinkGeneratorTest.php in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php

File

core/lib/Drupal/Core/GeneratedNoLink.php, line 8

Namespace

Drupal\Core
View source
class GeneratedNoLink extends GeneratedLink {

  /**
   * {@inheritdoc}
   */
  const TAG = 'span';

}

Members

Namesort descending Modifiers Type Description Overrides
GeneratedLink::$generatedLink protected property The HTML string value containing a link.
GeneratedLink::count public function
GeneratedLink::getGeneratedLink public function Gets the generated link.
GeneratedLink::jsonSerialize public function
GeneratedLink::setGeneratedLink public function Sets the generated link.
GeneratedLink::__toString public function
GeneratedNoLink::TAG constant HTML tag to use when building the link. Overrides GeneratedLink::TAG