diff --git a/core/modules/entity_ui/entity_ui.module b/core/modules/entity_ui/entity_ui.module index a322f48..751984c 100644 --- a/core/modules/entity_ui/entity_ui.module +++ b/core/modules/entity_ui/entity_ui.module @@ -8,6 +8,16 @@ use Drupal\Core\Entity\EntityInterface; /** + * Implements hook_help(). + */ +function entity_ui_help($path, $arg) { + switch ($path) { + case 'admin/config/system/view-modes': + return '
' . t("View modes let entities be displayed differently depending on the context. For instance, a node can be displayed differently on its own page ('full' mode), on the home page or taxonomy listings ('teaser' mode), or in an RSS feed ('rss' mode). Modules taking part in the display of the entity (notably the Field API) can adjust their behavior depending on the requested view mode.") . '
'; + } +} + +/** * Implements hook_permission(). */ function entity_ui_permission() {