Commit 59853a2c authored by frjo's avatar frjo
Browse files

Some efforts to make Colorbox work with Drupal 8 alpha11, bug fix.

parent 02e6a777
......@@ -90,7 +90,7 @@ function theme_colorbox_formatter($variables) {
}
$img_uri = $item->entity->getFileUri();
if (!empty$settings['colorbox_image_style'])) {
if (!empty($settings['colorbox_image_style'])) {
$style = entity_load('image_style', $settings['colorbox_image_style']);
$path = $style->buildUrl($img_uri);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment