<?php

/**
 * @file
 * Helper module for the testCronExceptions in addition to common_test module.
 */

/**
 * Implements hook_cron().
 *
 * Function common_test_cron() throws an exception, but the execution should
 * reach this function as well.
 *
 * @see common_test_cron()
 */
function common_test_cron_helper_cron() {
  \Drupal::state()->set('common_test.cron', 'success');
}
