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

Breadcrumb

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

function When::getCompositeOption

Overrides Composite::getCompositeOption

File

vendor/symfony/validator/Constraints/When.php, line 78

Class

When
Conditionally apply validation constraints based on an expression using the ExpressionLanguage syntax.

Namespace

Symfony\Component\Validator\Constraints

Code

protected function getCompositeOption() : string {
    return 'constraints';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal