You are here

LegacyRemoveUnpublishingDate.php in Scheduler 2.x

File

scheduler_rules_integration/src/Plugin/RulesAction/Legacy/LegacyRemoveUnpublishingDate.php
View source
<?php

namespace Drupal\scheduler_rules_integration\Plugin\RulesAction\Legacy;

use Drupal\scheduler_rules_integration\Plugin\RulesAction\RemoveUnpublishingDate;

/**
 * Provides a 'Remove date for scheduled unpublishing' action for nodes only.
 *
 * @RulesAction(
 *   id = "scheduler_remove_unpublishing_date_action",
 *   entity_type_id = "node",
 *   label = @Translation("Remove date for unpublishing a content item"),
 *   category = @Translation("Content (Scheduler)"),
 *   context_definitions = {
 *     "node" = @ContextDefinition("entity:node",
 *       label = @Translation("Node"),
 *       description = @Translation("The node from which to remove the scheduled unpublishing date"),
 *       assignment_restriction = "selector",
 *     ),
 *   }
 * )
 */
class LegacyRemoveUnpublishingDate extends RemoveUnpublishingDate {

}

Classes

Namesort descending Description
LegacyRemoveUnpublishingDate Provides a 'Remove date for scheduled unpublishing' action for nodes only.