cloud-8.x-2.0-beta1/modules/cloud_service_providers/k8s/src/Plugin/Validation/Constraint/YamlArrayDataConstraint.php
modules/cloud_service_providers/k8s/src/Plugin/Validation/Constraint/YamlArrayDataConstraint.php
<?php
namespace Drupal\k8s\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Tags field validation.
*
* @Constraint(
* id = "yaml_array_data",
* label = @Translation("Yaml", context = "Validation"),
* )
*/
class YamlArrayDataConstraint extends Constraint {
/**
* The error message: 'Invalid Yaml array format.'.
*
* @var array
*/
public $invalidYamlArray = 'Invalid Yaml array format.';
/**
* The error message header: 'Invalid Yaml format:'.
*
* @var array
*/
public $invalidYaml = 'Invalid Yaml format: ';
}
