ExtensionExistsConstraintValidator::$moduleHandler

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php \Drupal\Core\Extension\Plugin\Validation\Constraint\ExtensionExistsConstraintValidator::moduleHandler

The module handler service.

Type: \Drupal\Core\Extension\ModuleHandlerInterface

File

core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php, line 24

Class

ExtensionExistsConstraintValidator
Validates that a given extension exists.

Namespace

Drupal\Core\Extension\Plugin\Validation\Constraint

Code

protected ModuleHandlerInterface $moduleHandler;

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