Loading simple_image_rotate.module +4 −2 Changes for simple_image_rotate.module: 4 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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'); Loading Loading @@ -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()])); } } } Loading Loading
simple_image_rotate.module +4 −2 Changes for simple_image_rotate.module: 4 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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'); Loading Loading @@ -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()])); } } } Loading