function image_example_help
Same name in other branches
- 7.x-1.x image_example/image_example.module \image_example_help()
Implements hook_help().
Related topics
File
-
modules/
image_example/ image_example.module, line 31
Code
function image_example_help($path) {
switch ($path) {
case 'image_example/effects':
$output = '<p>' . t('Use this form to upload an image and choose an Image Style to use when displaying the image. This demonstrates basic use of the Drupal 7 Image effects & effects system.') . '</p>';
$output .= '<p>' . t('Image effects can be added/edited using the <a href=":link">Image effects UI</a>.', [
':link' => Url::fromRoute('entity.image_style.collection')->toString(),
]) . '</p>';
return $output;
}
}