From d62f008d36dc2f2b5d1980872403abfeba534b2f Mon Sep 17 00:00:00 2001 From: mmrares Date: Sat, 25 Jan 2014 11:29:28 +0200 Subject: [PATCH] Issue #2091401: Update hook_help for Edit module. --- core/modules/edit/edit.module | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/core/modules/edit/edit.module b/core/modules/edit/edit.module index 3eaabcc..f205640 100644 --- a/core/modules/edit/edit.module +++ b/core/modules/edit/edit.module @@ -15,6 +15,23 @@ use Drupal\Core\Entity\Display\EntityViewDisplayInterface; /** + * Implements hook_help(). + */ +function edit_help($path, $arg) { + switch ($path) { + case 'admin/help#edit': + $output = '

' . t('About') . '

'; + $output .= '

' . t('The Edit module allows users with the Access in-place editing permission to edit field content without visiting a separate page. For more information, see the online documentation for the Edit module.', array('!handbook_url' => 'https://drupal.org/documentation/modules/edit')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('In-place content editing') . '
'; + $output .= '
' . t("When enabled, rather than having to visit a separate page to edit content, it may be edited in-place. Once the user has the Access in-place editing permission, an edit button will appear which allows the user to edit the field's content.") . '
'; + $output .= '
'; + return $output; + } +} + +/** * Implements hook_permission(). */ function edit_permission() { -- 1.8.0.msysgit.0