You are here

protected property LinkFormatter::$pathValidator in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php \Drupal\link\Plugin\Field\FieldFormatter\LinkFormatter::pathValidator
  2. 9 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\FieldFormatter

Code

protected $pathValidator;