LinkNotExistingInternalConstraint.php

Same filename in other branches
  1. 9 core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php
  2. 10 core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php
  3. 11.x core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php

Namespace

Drupal\link\Plugin\Validation\Constraint

File

core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php

View source
<?php

namespace Drupal\link\Plugin\Validation\Constraint;

use Symfony\Component\Validator\Constraint;

/**
 * Defines a protocol validation constraint for links to broken internal URLs.
 *
 * @Constraint(
 *   id = "LinkNotExistingInternal",
 *   label = @Translation("No broken internal links", context = "Validation"),
 * )
 */
class LinkNotExistingInternalConstraint extends Constraint {
    public $message = "The path '@uri' is invalid.";

}

Classes

Title Deprecated Summary
LinkNotExistingInternalConstraint Defines a protocol validation constraint for links to broken internal URLs.

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