function disable_field_help in Disable Field 8.2
Implements hook_help().
File
- ./
disable_field.module, line 18 - Allows to disable field of entities on the forms.
Code
function disable_field_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the disable_field module.
case 'help.page.disable_field':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t("This module help(s) you to disable the field of any content type.") . '</p>';
return $output;
default:
}
}