diff --git a/core/modules/media/media.module b/core/modules/media/media.module index a1e1b04..db53d81 100644 --- a/core/modules/media/media.module +++ b/core/modules/media/media.module @@ -14,16 +14,18 @@ function media_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.media': $output = '

' . t('About') . '

'; - $output .= '

' . t('The Media module provides a "base" entity for media. This is a very basic entity which can reference to all kinds of media-objects (local files, YouTube videos, Tweets, Instagram photos, ...). Media provides a relationship between your website and the media resource. You can reference and use this entity within any other entity on your site. For more information, see the online documentation for the Media module.', - [ - ':media_handbook' => 'https://www.drupal.org/docs/8/core/modules/media', - ]) . '

'; + $output .= '

' . t('The Media module manages the creation, editing, deletion, settings and display of media. Items are typically images, documents, slideshows, YouTube videos, Tweets, Instagram photos, etc. You can reference media items from any other content on your site. For more information, see the online documentation for the Media module.', [':media' => 'https://www.drupal.org/docs/8/core/modules/media']) . '

'; $output .= '

' . t('Uses') . '

'; - $output .= '

' . t('For detailed information about the usage of this module please refer to the official documentation.', - [ - ':media_handbook' => 'https://www.drupal.org/docs/8/core/modules/media', - ]) . '

'; - + $output .= '
'; + $output .= '
' . t('Creating media items') . '
'; + $output .= '
' . t('When a new media item is created, the Media module records basic information about it, including the author, date of creation, and the Media type. It also manages the publishing options, which define whether or not the item is published. Default settings can be configured for each type of media on your site.', [':media-type' => \Drupal::url('entity.media_type.collection')]) . '
'; + $output .= '
' . t('Creating custom media types') . '
'; + $output .= '
' . t('The Media module gives users with the Administer media types permission the ability to create new media types in addition to the default ones already configured. Each media type has an associated media handler (such as the image handler) which support thumbnail generation and metadata extraction. Fields managed by the Field module may be added for storing that metadata, such as width and height, as well as any other associated values.', [':media-new' => \Drupal::url('entity.media_type.add_form'), ':field' => \Drupal::url('help.page', ['name' => 'field'])]) . '
'; + $output .= '
' . t('Creating revisions') . '
'; + $output .= '
' . t('The Media module also enables you to create multiple versions of any media item, and revert to older versions using the Revision information settings.') . '
'; + $output .= '
' . t('User permissions') . '
'; + $output .= '
' . t('The Media module makes a number of permissions available, which can be set by role on the permissions page.', array(':permissions' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-media')))) . '
'; + $output .= '
'; return $output; } }