Removed modules/contrib/media module to allow update to the core media module
[yaffs-website] / web / modules / contrib / media / src / Plugin / Validation / Constraint / GalleryMediaBundleConstraint.php
diff --git a/web/modules/contrib/media/src/Plugin/Validation/Constraint/GalleryMediaBundleConstraint.php b/web/modules/contrib/media/src/Plugin/Validation/Constraint/GalleryMediaBundleConstraint.php
deleted file mode 100644 (file)
index 178d175..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Drupal\media\Plugin\Validation\Constraint;
-
-use Symfony\Component\Validator\Constraint;
-
-/**
- * Check that there is no Gallery type item in slideshow items.
- *
- * @Constraint(
- *   id = "GalleryMediaBundle",
- *   label = @Translation("Gallery media bundle", context = "Validation"),
- * )
- */
-class GalleryMediaBundleConstraint extends Constraint {
-
-  /**
-   * Name of the source field for slideshow bundle.
-   *
-   * @var string
-   */
-  public $sourceFieldName;
-
-  /**
-   * The default violation message.
-   *
-   * @var string
-   */
-  public $message = 'Gallery cannot contain gallery type item.';
-}