X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fresponsive_image%2Fresponsive_image.module;h=54dc56c8f7a8168a76786e772019ec1bc54f690a;hb=refs%2Fheads%2Ft2;hp=4388e896354b1a236aad76603febbc458d5b1930;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/responsive_image/responsive_image.module b/web/core/modules/responsive_image/responsive_image.module index 4388e8963..54dc56c8f 100644 --- a/web/core/modules/responsive_image/responsive_image.module +++ b/web/core/modules/responsive_image/responsive_image.module @@ -20,6 +20,8 @@ use Drupal\breakpoint\BreakpointInterface; * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. Use * Drupal\responsive_image\ResponsiveImageStyleInterface::EMPTY_IMAGE * instead. + * + * @see https://www.drupal.org/node/2831620 */ const RESPONSIVE_IMAGE_EMPTY_IMAGE = '_empty image_'; @@ -29,6 +31,8 @@ const RESPONSIVE_IMAGE_EMPTY_IMAGE = '_empty image_'; * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. Use * \Drupal\responsive_image\ResponsiveImageStyleInterface::ORIGINAL_IMAGE * instead. + * + * @see https://www.drupal.org/node/2831620 */ const RESPONSIVE_IMAGE_ORIGINAL_IMAGE = '_original image_'; @@ -40,7 +44,7 @@ function responsive_image_help($route_name, RouteMatchInterface $route_match) { case 'help.page.responsive_image': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Responsive Image module provides an image formatter that allows browsers to select which image file to display based on media queries or which image file types the browser supports, using the HTML 5 picture and source elements and/or the sizes, srcset and type attributes. For more information, see the online documentation for the Responsive Image module.', [ ':responsive_image' => 'https://www.drupal.org/documentation/modules/responsive_image']) . '

'; + $output .= '

' . t('The Responsive Image module provides an image formatter that allows browsers to select which image file to display based on media queries or which image file types the browser supports, using the HTML 5 picture and source elements and/or the sizes, srcset and type attributes. For more information, see the online documentation for the Responsive Image module.', [':responsive_image' => 'https://www.drupal.org/documentation/modules/responsive_image']) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Defining responsive image styles') . '
';