You are here

LegacyScheduledForPublishing.php in Scheduler 2.x

File

scheduler_rules_integration/src/Plugin/Condition/Legacy/LegacyScheduledForPublishing.php
View source
<?php

namespace Drupal\scheduler_rules_integration\Plugin\Condition\Legacy;

use Drupal\scheduler_rules_integration\Plugin\Condition\ScheduledForPublishing;

/**
 * Provides 'Node is scheduled for publishing' condition.
 *
 * @Condition(
 *   id = "scheduler_condition_node_scheduled_for_publishing",
 *   label = @Translation("Node is scheduled for publishing"),
 *   category = @Translation("Content (Scheduler)"),
 *   context_definitions = {
 *     "node" = @ContextDefinition("entity:node",
 *       label = @Translation("Node"),
 *       description = @Translation("The node to check for having a scheduled publishing date."),
 *       assignment_restriction = "selector",
 *     )
 *   }
 * )
 */
class LegacyScheduledForPublishing extends ScheduledForPublishing {

}

Classes

Namesort descending Description
LegacyScheduledForPublishing Provides 'Node is scheduled for publishing' condition.