function RequiredConfigDependenciesConstraint::getRequiredOptions

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

File

core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraint.php, line 40

Class

RequiredConfigDependenciesConstraint
Checks that config dependencies contain specific types of entities.

Namespace

Drupal\Core\Config\Plugin\Validation\Constraint

Code

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

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