drush_log(dt('"@time_value" is not a valid time argument.',['@time_value'=>$time]),'warning');
}
$time=drush_choice(\Drupal::service('node_revision_delete')->getTimeValues(),dt('Choose the frequency with which to delete revisions while cron is running:'));
returndrush_set_error('NODE_REVISION_DELETE_INVALID_ARGUMENT',dt('The second argument @vid is not a valid revision id.',['@vid'=>$args[1]]));
}
// Check if the nid and the vid match the same node.
if($node->id()!==$revision->id()){
returndrush_set_error('NODE_REVISION_DELETE_INVALID_ARGUMENT',dt('The revision id @vid doesn\'t belong to the node id @nid.',['@nid'=>$args[0],'@vid'=>$args[1]]));