You are here

EntityLabelNotNullConstraint.php in Automatic Entity Label 8.2

File

src/Plugin/Validation/EntityLabelNotNullConstraint.php
View source
<?php

namespace Drupal\auto_entitylabel\Plugin\Validation;

use Drupal\Core\Validation\Plugin\Validation\Constraint\NotNullConstraint;

/**
 * Class for Entity Label Not Null Constraint.
 *
 * Custom override of NotNull constraint to allow empty entity labels to
 * validate before the automatic label is set.
 */
class EntityLabelNotNullConstraint extends NotNullConstraint {

}

Classes

Namesort descending Description
EntityLabelNotNullConstraint Class for Entity Label Not Null Constraint.