Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Expression.php

function Expression::getTargets

Overrides Constraint::getTargets

File

vendor/symfony/validator/Constraints/Expression.php, line 84

Class

Expression
Validates a value using an expression from the Expression Language component.

Namespace

Symfony\Component\Validator\Constraints

Code

public function getTargets() : string|array {
    return [
        self::CLASS_CONSTRAINT,
        self::PROPERTY_CONSTRAINT,
    ];
}
RSS feed
Powered by Drupal