Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / responsive_image / responsive_image.module
index 4388e896354b1a236aad76603febbc458d5b1930..54dc56c8f7a8168a76786e772019ec1bc54f690a 100644 (file)
@@ -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 .= '<h3>' . t('About') . '</h3>';
-      $output .= '<p>' . 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 <a href=":responsive_image">online documentation for the Responsive Image module</a>.', [ ':responsive_image' => 'https://www.drupal.org/documentation/modules/responsive_image']) . '</p>';
+      $output .= '<p>' . 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 <a href=":responsive_image">online documentation for the Responsive Image module</a>.', [':responsive_image' => 'https://www.drupal.org/documentation/modules/responsive_image']) . '</p>';
       $output .= '<h3>' . t('Uses') . '</h3>';
       $output .= '<dl>';
       $output .= '<dt>' . t('Defining responsive image styles') . '</dt>';