Commit a348c955 authored by leevh's avatar leevh
Browse files

issue #3255089 apply patch 3255089_2

parent f3fcc403
Loading
Loading
Loading
Loading
+4 −2
Changes for simple_image_rotate.module: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -28,7 +28,9 @@ function simple_image_rotate_help($route_name, RouteMatchInterface $route_match)
      else {
        // Use the Markdown filter to render the README.
        $filter_manager = \Drupal::service('plugin.manager.filter');
        $settings = \Drupal::configFactory()->get('markdown.settings')->getRawData();
        $settings = \Drupal::configFactory()
          ->get('markdown.settings')
          ->getRawData();
        $config = ['settings' => $settings];
        $filter = $filter_manager->createInstance('markdown', $config);
        return $filter->process($text, 'en');
@@ -217,7 +219,7 @@ function simple_image_rotate_rotate_image(EntityInterface &$entity) {
              }
              catch (Exception $ex) {
                \Drupal::logger('simple_image_rotate')
                  ->notice(t('Problem rotating image: @message', array('@message' => $ex->getMessage())));
                  ->notice(t('Problem rotating image: @message', ['@message' => $ex->getMessage()]));
              }
            }
          }