recurly-8.x-1.x-dev/src/Access/RecurlyAccessCancelLatest.php

src/Access/RecurlyAccessCancelLatest.php
<?php

namespace Drupal\recurly\Access;

/**
 * Checks if the cancel operation should be accessible.
 */
class RecurlyAccessCancelLatest extends RecurlyAccess {

  /**
   * {@inheritdoc}
   */
  public function access() {
    $this->setLocalAccount();
    return $this->switchSubscriptionState('active');
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc