Add help text to quick form index.

This commit is contained in:
Michael Stenta 2021-07-16 16:13:03 -04:00
parent 2219a712cc
commit bf8731cc18
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?php
/**
* @file
* The farmOS Quick Form module.
*/
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function farm_quick_help($route_name, RouteMatchInterface $route_match) {
$output = '';
// Quick forms index help text.
if ($route_name == 'farm.quick') {
$output .= '<p>' . t('Quick forms make it easy to record common activities.') . '</p>';
}
return $output;
}