Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 7ecbec8

Browse files
committed
feat: re-enable Consumer Image Styles
It was temporarily disabled in fd462ec while it was not compatible with JSON:API 2.x
1 parent dee3790 commit 7ecbec8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"require": {
4646
"cweagans/composer-patches": "^1.6.0",
4747
"drupal/admin_toolbar": "^1.23",
48-
"drupal/consumers": "^1.2",
48+
"drupal/consumer_image_styles": "^3.0@beta",
49+
"drupal/consumers": "^1.8",
4950
"drupal/contentajs": "^1.0@beta",
5051
"drupal/core": "^8.6.0",
5152
"drupal/decoupled_router": "^1.1",

modules/recipes_magazin/recipes_magazin.info.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ dependencies:
1616
- migrate
1717
- jsonapi
1818
- jsonapi_extras
19+
- consumer_image_styles
1920
- views

src/Plugin/Contenta/OptionalModule/ConsumerImageStyles.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
2727
'#type' => 'item',
2828
'#description' => $this->t("This is a lower budget alternative to services
2929
like Cloudinary, Akamai Image Converter, etc. This module will cover your
30-
needs in 90% of the decoupled projects. <strong>This project is
31-
temporarily unavailable.</strong>"),
32-
'#disabled' => TRUE,
30+
needs in 90% of the decoupled projects."),
3331
];
3432

3533
return $form;

0 commit comments

Comments
 (0)