You are here

public property SchedulerUnpublishOnConstraint::$messageUnpublishOnRequiredIfPublishOnEntered in Scheduler 8

Same name and namespace in other branches
  1. 2.x src/Plugin/Validation/Constraint/SchedulerUnpublishOnConstraint.php \Drupal\scheduler\Plugin\Validation\Constraint\SchedulerUnpublishOnConstraint::messageUnpublishOnRequiredIfPublishOnEntered

Message shown when unpublish_on is missing but publish_on has been entered.

Type: string

File

src/Plugin/Validation/Constraint/SchedulerUnpublishOnConstraint.php, line 23

Class

SchedulerUnpublishOnConstraint
Validates unpublish on values.

Namespace

Drupal\scheduler\Plugin\Validation\Constraint

Code

public $messageUnpublishOnRequiredIfPublishOnEntered = "If you set a 'publish on' date then you must also set an 'unpublish on' date.";