function RequiredConfigDependenciesConstraintValidator::create
Same name in other branches
- 11.x core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php \Drupal\Core\Config\Plugin\Validation\Constraint\RequiredConfigDependenciesConstraintValidator::create()
Overrides ContainerInjectionInterface::create
File
-
core/
lib/ Drupal/ Core/ Config/ Plugin/ Validation/ Constraint/ RequiredConfigDependenciesConstraintValidator.php, line 42
Class
- RequiredConfigDependenciesConstraintValidator
- Validates the RequiredConfigDependencies constraint.
Namespace
Drupal\Core\Config\Plugin\Validation\ConstraintCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.