Uses editable config for processing data

Created on 14 November 2023, 8 months ago
Updated 25 January 2024, 5 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.69.0 2024