class GeneratedNoLink in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/GeneratedNoLink.php \Drupal\Core\GeneratedNoLink
- 9 core/lib/Drupal/Core/GeneratedNoLink.php \Drupal\Core\GeneratedNoLink
This class holds a <span> generated from the <nolink> route.
Hierarchy
- class \Drupal\Core\Cache\CacheableMetadata implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTrait
- class \Drupal\Core\Render\BubbleableMetadata implements AttachmentsInterface uses AttachmentsTrait
- class \Drupal\Core\GeneratedLink implements \Drupal\Core\Countable, MarkupInterface
- class \Drupal\Core\GeneratedNoLink
- class \Drupal\Core\GeneratedLink implements \Drupal\Core\Countable, MarkupInterface
- class \Drupal\Core\Render\BubbleableMetadata implements AttachmentsInterface uses AttachmentsTrait
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\CoreView source
class GeneratedNoLink extends GeneratedLink {
/**
* {@inheritdoc}
*/
const TAG = 'span';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GeneratedLink:: |
protected | property | The HTML string value containing a link. | |
GeneratedLink:: |
public | function | ||
GeneratedLink:: |
public | function | Gets the generated link. | |
GeneratedLink:: |
public | function | ||
GeneratedLink:: |
public | function | Sets the generated link. | |
GeneratedLink:: |
public | function | ||
GeneratedNoLink:: |
constant |
HTML tag to use when building the link. Overrides GeneratedLink:: |