diff --git a/core/modules/entity/entity.module b/core/modules/entity/entity.module index 9cd45d4ee49..aae62f136c4 100644 --- a/core/modules/entity/entity.module +++ b/core/modules/entity/entity.module @@ -10,6 +10,29 @@ use Drupal\Core\Config\Entity\ConfigStorageController; +/** + * Implements hook_help(). + */ +function entity_help($path, $arg) { + switch ($path) { + case 'admin/help#entity': + $output = ''; + $output .= '
' . t('The Entity module manages various types of content and configuration for the website. This information is collectively know as "entities", which are grouped into "entity types" (such as the main site content, comments, custom blocks, taxonomy terms, user accounts, and views configuration). Some entity types are further grouped into sub-types (for example, you could have article and page content types within the main site content entity type, and tag and category vocabularies within the taxonomy term entity type); other entity types, such as user accounts, do not have sub-types.') . '
'; + $output .= '' . t('Content entity types store most of their text, file, and other information in fields. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')))) . '
'; + $output .= '' . t('Configuration entity types are used to store configuration information for your site, such as individual views in the Views module, and settings for your main site content types. Configuration stored in this way can be exported, imported, and managed using the Configuration Manager module. See the Configuration Manager module help page for more information.', array('!config-help' => \Drupal::url('help.page', array('name' => 'config')))) . '
'; + $output .= '' . t('For more information, see the online documentation for the Entity module.', array('!entity_documentation' => 'https://drupal.org/documentation/modules/entity')) . '
'; + $output .= '