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

Breadcrumb

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

function Isbn::getDefaultOption

Overrides Constraint::getDefaultOption

File

vendor/symfony/validator/Constraints/Isbn.php, line 81

Class

Isbn
Validates that a value is a valid ISBN according to ISBN-10 or ISBN-13 formats.

Namespace

Symfony\Component\Validator\Constraints

Code

public function getDefaultOption() : ?string {
    return 'type';
}

API Navigation

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