Skip to content
Snippets Groups Projects

Update file filefield_paths.inc

Open Sakshi Sharma requested to merge issue/filefield_paths-3494240:8.x-1.x into 8.x-1.x
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -135,6 +135,7 @@ function filefield_paths_filefield_paths_process_file(ContentEntityInterface $en
if (
\Drupal::moduleHandler()->moduleExists('redirect')
&& !empty($settings['redirect']) && $settings['active_updating']
&& !$entity->isNew() && isset($entity->original)
) {
/** @var \Drupal\filefield_paths\Redirect $redirect */
$redirect = \Drupal::service('filefield_paths.redirect');
Loading