You are here

media_thumbnails_svg.module in Media Thumbnails SVG 8

Generate custom thumbnails for svg media entities.

File

media_thumbnails_svg.module
View source
<?php

/**
 * @file
 * Generate custom thumbnails for svg media entities.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 *
 * {@inheritDoc}
 */
function media_thumbnails_svg_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.media_thumbnails_svg':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Media Thumbnails SVG module generates thumbnails for svg media entities.') . '</p>';
      return $output;
  }
}

Functions

Namesort descending Description
media_thumbnails_svg_help Implements hook_help().