class GeneratedNoLink
Same name and namespace in other branches
- 11.x 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 extends \Drupal\Core\Cache\RefinableCacheableDependencyInterface uses \Drupal\Core\Cache\RefinableCacheableDependencyTrait
- class \Drupal\Core\Render\BubbleableMetadata extends \Drupal\Core\Render\AttachmentsInterface uses \Drupal\Core\Render\AttachmentsTrait implements \Drupal\Core\Cache\CacheableMetadata
- class \Drupal\Core\GeneratedLink extends \Drupal\Component\Render\MarkupInterface, \Drupal\Core\Countable implements \Drupal\Core\Render\BubbleableMetadata
- class \Drupal\Core\GeneratedNoLink implements \Drupal\Core\GeneratedLink
- class \Drupal\Core\GeneratedLink extends \Drupal\Component\Render\MarkupInterface, \Drupal\Core\Countable implements \Drupal\Core\Render\BubbleableMetadata
- class \Drupal\Core\Render\BubbleableMetadata extends \Drupal\Core\Render\AttachmentsInterface uses \Drupal\Core\Render\AttachmentsTrait implements \Drupal\Core\Cache\CacheableMetadata
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';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.