You are here

class ScormPackageConstraint in Opigno SCORM 8

Same name and namespace in other branches
  1. 3.x src/Plugin/Validation/Constraint/ScormPackageConstraint.php \Drupal\opigno_scorm\Plugin\Validation\Constraint\ScormPackageConstraint

Ensures Scorm package.

Plugin annotation


@Constraint(
  id = "ScormPackage",
  label = @Translation("Scorm package.", context = "Validation")
)

Hierarchy

  • class \Drupal\opigno_scorm\Plugin\Validation\Constraint\ScormPackageConstraint extends \Symfony\Component\Validator\Constraint

Expanded class hierarchy of ScormPackageConstraint

File

src/Plugin/Validation/Constraint/ScormPackageConstraint.php, line 15

Namespace

Drupal\opigno_scorm\Plugin\Validation\Constraint
View source
class ScormPackageConstraint extends Constraint {
  public $missingManifestFile = 'Scorm package is wrong. Missing the Imsmanifest File.';

}

Members