Skip to content
Snippets Groups Projects
Commit dddc51df authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5204: fixing merge conflict

parent e78ebf66
No related branches found
No related tags found
No related merge requests found
<?php
?php
/**
* @file
......@@ -733,15 +733,6 @@ function uw_cfg_common_preprocess_responsive_image(&$variables) {
// Explode the current path so we can check where we are.
$current_path_parts = explode('/', $current_path);
<<<<<<< HEAD
// If the current path has a node, we need to alter
// the image styles.
if ($current_path_parts[1] == 'node') {
// Get the media library parameters, we will use this
// if we are on a media library page/modal.
$media_lib_parameters = \Drupal::request()->query->get('media_library_opener_parameters');
=======
// Get the media library parameters, we will use this
// if we are on a media library page/modal.
$media_lib_parameters = \Drupal::request()->query->get('media_library_opener_parameters');
......@@ -752,7 +743,6 @@ function uw_cfg_common_preprocess_responsive_image(&$variables) {
$current_path_parts[1] == 'node' ||
$media_lib_parameters
) {
>>>>>>> origin/feature/ISTWCMS-5206/ebremner-contacts-listing-page-image-theming
// If we are on a contact image, remove all styles
// but those for portraits.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment