3 namespace Drupal\video_embed_field\Plugin\Validation\Constraint;
5 use Symfony\Component\Validator\Constraint;
8 * Validation constraint for the video embed field.
11 * id = "VideoEmbedValidation",
12 * label = @Translation("VideoEmbed provider constraint", context = "Validation"),
15 class VideoEmbedConstraint extends Constraint {
18 * Message shown when a video provider is not found.
22 public $message = 'Could not find a video provider to handle the given URL.';