You are here

entity_share_cron.module in Entity Share Cron 3.0.x

Same filename and directory in other branches
  1. 8.2 entity_share_cron.module
  2. 8 entity_share_cron.module

File

entity_share_cron.module
View source
<?php

/**
 * @file
 * Hook implementations for the Entity Share Cron module.
 */
declare (strict_types=1);
use Drupal\entity_share_cron\HookHandler\CronHookHandler;

/**
 * Implements hook_cron().
 */
function entity_share_cron_cron() {
  return \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(CronHookHandler::class)
    ->process();
}

Functions

Namesort descending Description
entity_share_cron_cron Implements hook_cron().