You are here

class Exists in Markdown 8.2

Checks whether a specific class, interface, trait, or function exists.

@Constraint( id = "Exists", label = @Translation("Exists constraint", context = "Validation"), )

@todo Move upstream to https://www.drupal.org/project/installable_plugins. @internal

Hierarchy

  • class \Drupal\markdown\Plugin\Validation\Constraint\Exists extends \Symfony\Component\Validator\Constraint

Expanded class hierarchy of Exists

1 string reference to 'Exists'
InstallableRequirement::validate in src/Annotation/InstallableRequirement.php
Validates the requirement.

File

src/Plugin/Validation/Constraint/Exists.php, line 18

Namespace

Drupal\markdown\Plugin\Validation\Constraint
View source
class Exists extends Constraint {
  public $message = '@name does not exist.';

}

Members