class LinkNotExistingInternalConstraint

Same name in other branches
  1. 9 core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraint
  2. 8.9.x core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraint
  3. 11.x core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraint

Defines a protocol validation constraint for links to broken internal URLs.

Hierarchy

Expanded class hierarchy of LinkNotExistingInternalConstraint

1 file declares its use of LinkNotExistingInternalConstraint
LinkNotExistingInternalConstraintValidatorTest.php in core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php

File

core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php, line 12

Namespace

Drupal\link\Plugin\Validation\Constraint
View source
class LinkNotExistingInternalConstraint extends SymfonyConstraint {
    public $message = "The path '@uri' is invalid.";

}

Members

Title Sort descending Modifiers Object type Summary
LinkNotExistingInternalConstraint::$message public property

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.