Uses editable config for processing data

Created on 14 November 2023, about 1 year ago
Updated 25 January 2024, 10 months ago

Problem/Motivation

In \Drupal\media_thumbnails_video\Plugin\MediaThumbnail\MediaThumbnailVideo::createThumbnail it's get the configured settings like this:

$config = $this->config->getEditable('media_thumbnails_video.settings');

But this is incorrect, it should be doing this instead:

$config = $this->config->get('media_thumbnails_video.settings');

Steps to reproduce

Use the module with overridden config.

Proposed resolution

Change the line of code.

Remaining tasks

Make a MR, review it.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom steven jones

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024