You are here

flush_single_image.module in Flush Single Image Styles 8

File

flush_single_image.module
View source
<?php

/**
 * @file
 * Contains flush_single_image.module.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function flush_single_image_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the flush_single_image module.
    case 'help.page.flush_single_image':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Flush a single image from all styles that may have a version of it cached.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
flush_single_image_help Implements hook_help().