You are here

media_bulk_upload.module in Media Bulk Upload 8

Contains media_upload.module.

File

media_bulk_upload.module
View source
<?php

/**
 * @file
 * Contains media_upload.module.
 */
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\media\MediaTypeInterface;

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

    // Main module help for the media_upload module.
    case 'help.page.media_bulk_upload':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Allows uploading files in bulk and converting them to media entities.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
media_bulk_upload_help Implements hook_help().