function FileSizeLimitConstraint::getDefaultOption

Same name in other branches
  1. 10 core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileSizeLimitConstraint::getDefaultOption()

File

core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php, line 50

Class

FileSizeLimitConstraint
File size max constraint.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

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

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