You are here

public property SchedulerUnpublishOnConstraint::$messageUnpublishOnRequiredIfPublishing 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::messageUnpublishOnRequiredIfPublishing

Message shown when unpublish_on is missing but node is published directly.

Type: string

File

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

Class

SchedulerUnpublishOnConstraint
Validates unpublish on values.

Namespace

Drupal\scheduler\Plugin\Validation\Constraint

Code

public $messageUnpublishOnRequiredIfPublishing = "Either you must set an 'unpublish on' date or save this node as unpublished.";