function ExtensionExistsConstraint::getRequiredOptions

Same name in other branches
  1. 10 core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php \Drupal\Core\Extension\Plugin\Validation\Constraint\ExtensionExistsConstraint::getRequiredOptions()

File

core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php, line 44

Class

ExtensionExistsConstraint
Checks that the value is the name of an installed extension.

Namespace

Drupal\Core\Extension\Plugin\Validation\Constraint

Code

public function getRequiredOptions() : array {
    return [
        'type',
    ];
}

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