public function VideoEmbedConstraintValidator::__construct in Video Embed Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/Validation/Constraint/VideoEmbedConstraintValidator.php \Drupal\video_embed_field\Plugin\Validation\Constraint\VideoEmbedConstraintValidator::__construct()
Create an instance of the validator.
Parameters
\Drupal\video_embed_field\ProviderManagerInterface $provider_manager: The provider manager service.
File
- src/
Plugin/ Validation/ Constraint/ VideoEmbedConstraintValidator.php, line 29
Class
- VideoEmbedConstraintValidator
- Validates the video embed providers.
Namespace
Drupal\video_embed_field\Plugin\Validation\ConstraintCode
public function __construct(ProviderManagerInterface $provider_manager) {
$this->providerManager = $provider_manager;
}