nice_imagefield_widget.module in Nice ImageField Widget 8
Same filename and directory in other branches
Contains nice_imagefield_widget.module..
File
nice_imagefield_widget.moduleView source
<?php
/**
* @file
* Contains nice_imagefield_widget.module..
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function nice_imagefield_widget_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the nice_imagefield_widget module.
case 'help.page.nice_imagefield_widget':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Creates a widget for imagefield to upload multiple files at once using html5 and display multiple images as draggable grid') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_theme().
*/
function nice_imagefield_widget_theme() {
return array(
// From nice_imagefield_widget.field.inc.
'nice_imagefield_widget_multiple' => array(
'render element' => 'element',
'file' => 'nice_imagefield_widget.field.inc',
),
);
}
Functions
Name | Description |
---|---|
nice_imagefield_widget_help | Implements hook_help(). |
nice_imagefield_widget_theme | Implements hook_theme(). |