summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Smylski2017-10-20 18:11:04 (GMT)
committerRyan Smylski2017-10-20 18:11:04 (GMT)
commit2d1edadc9c8f5588224b57b6845f9513f69d6af7 (patch)
tree55ee31076c4aee14ebe1a363f16e5fa3f063845d
parent9faadb4ee785183764d39f328ed843112b293d78 (diff)
git commit -m 'Issue #2914147 by NickWilde, rsmylski: ColorboxFormatter::__create() doesn'\''t pass enough arguments to __construct()' --author="rsmylski <rsmylski@1324348.no-reply.drupal.org>"
-rw-r--r--src/Plugin/Field/FieldFormatter/ColorboxFormatter.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Plugin/Field/FieldFormatter/ColorboxFormatter.php b/src/Plugin/Field/FieldFormatter/ColorboxFormatter.php
index aa05134..13c4103 100644
--- a/src/Plugin/Field/FieldFormatter/ColorboxFormatter.php
+++ b/src/Plugin/Field/FieldFormatter/ColorboxFormatter.php
@@ -100,7 +100,8 @@ class ColorboxFormatter extends ImageFormatterBase implements ContainerFactoryPl
$configuration['third_party_settings'],
$container->get('current_user'),
$container->get('entity.manager')->getStorage('image_style'),
- $container->get('colorbox.attachment')
+ $container->get('colorbox.attachment'),
+ $container->get('module_handler')
);
}