RESPONSIVE_PRIORITY_LOW

A responsive table class; only show table cell on wide devices. Indicates that a column has low priority and thus can be hidden on narrow and medium viewports and shown on wide devices (i.e. desktops). Related topics Content markers Markers used by mark.html.twig and node_mark() to designate content. File core/includes/theme.inc, line 66 The theme system, which controls the output of Drupal. Code const RESPONSIVE_PRIORITY_LOW = 'priority-low';

responsive_image_theme

responsive_image_theme() Implements hook_theme(). File core/modules/responsive_image/responsive_image.module, line 61 Responsive image display formatter for image fields. Code function responsive_image_theme() { return array( 'responsive_image' => array( 'variables' => array( 'uri' => NULL, 'attributes' => array(), 'responsive_image_style_id' => array(), 'height' => NULL, 'width' => NULL, ), ), 'responsive_

RESPONSIVE_IMAGE_ORIGINAL_IMAGE

File core/modules/responsive_image/responsive_image.module, line 21 Responsive image display formatter for image fields. Code const RESPONSIVE_IMAGE_ORIGINAL_IMAGE = '_original image_';

responsive_image_library_info_alter

responsive_image_library_info_alter(array &$libraries, $module) Implements hook_library_info_alter(). Load responsive_image.js whenever ajax is added. File core/modules/responsive_image/responsive_image.module, line 510 Responsive image display formatter for image fields. Code function responsive_image_library_info_alter(array &$libraries, $module) { if ($module === 'core' && isset($libraries['drupal.ajax'])) { $libraries['drupal.ajax']['dependencies'][] = 'responsive_im

responsive_image_help

responsive_image_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/responsive_image/responsive_image.module, line 26 Responsive image display formatter for image fields. Code function responsive_image_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.responsive_image': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Responsive Image

responsive_image_get_mime_type

responsive_image_get_mime_type($image_style_name, $extension) Determines the MIME type of an image. Parameters string $image_style_name: The image style that will be applied to the image. string $extension: The original extension of the image (without the leading dot). Return value string The MIME type of the image after the image style is applied. File core/modules/responsive_image/responsive_image.module, line 474 Responsive image display formatter for image fields. Code function responsi

responsive_image_get_image_dimensions

responsive_image_get_image_dimensions($image_style_name, array $dimensions, $uri) Determines the dimensions of an image. Parameters string $image_style_name: The name of the style to be used to alter the original image. array $dimensions: An associative array containing: width: The width of the source image (if known). height: The height of the source image (if known). string $uri: The URI of the image file. Return value array Dimensions to be modified - an array with components width and

RESPONSIVE_IMAGE_EMPTY_IMAGE

The machine name for the empty image breakpoint image style option. File core/modules/responsive_image/responsive_image.module, line 20 Responsive image display formatter for image fields. Code const RESPONSIVE_IMAGE_EMPTY_IMAGE = '_empty image_';

responsive_image_build_source_attributes

responsive_image_build_source_attributes(ImageInterface $image, array $variables, BreakpointInterface $breakpoint, array $multipliers) Helper function for template_preprocess_responsive_image(). Builds an array of attributes for <source> tags to be used in a <picture> tag. In other words, this function provides the attributes for each <source> tag in a <picture> tag. In a responsive image style, each breakpoint has an image style mapping for each of its multipliers. An i

responsive_image.module

Responsive image display formatter for image fields. File core/modules/responsive_image/responsive_image.module Functions Name Description responsive_image_build_source_attributes Helper function for template_preprocess_responsive_image(). responsive_image_get_image_dimensions Determines the dimensions of an image. responsive_image_get_mime_type Determines the MIME type of an image. responsive_image_help Implements hook_help(). responsive_image_library_info_alter Imple