LinkFormatter::$pathValidator
Same name in other branches
- 8.9.x core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php \Drupal\link\Plugin\Field\FieldFormatter\LinkFormatter::pathValidator
- 10 core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php \Drupal\link\Plugin\Field\FieldFormatter\LinkFormatter::pathValidator
- 11.x core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php \Drupal\link\Plugin\Field\FieldFormatter\LinkFormatter::pathValidator
The path validator service.
Type: \Drupal\Core\Path\PathValidatorInterface
File
-
core/
modules/ link/ src/ Plugin/ Field/ FieldFormatter/ LinkFormatter.php, line 33
Class
- LinkFormatter
- Plugin implementation of the 'link' formatter.
Namespace
Drupal\link\Plugin\Field\FieldFormatterCode
protected $pathValidator;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.