webex_client-1.0.5/webex_client.module

webex_client.module
<?php

/**
 * @file
 * Hook implementations for the Webex Client module.
 */

declare(strict_types=1);

/**
 * Implements hook_cron().
 */
function webex_client_cron(): void {
  // @todo Update this to refresh the token based on the expiration time provided by Webex, rather than relying on the cron schedule.
  /** @var \Drupal\webex_client\AuthServiceInterface $webexAuth */
  $webexAuth = Drupal::service('webex_client.auth');
  $webexAuth->refreshToken();
}

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

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