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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Steven Jones created an issue. See original summary.

steven jones’s picture

Status: Active » Needs review

MR opened with the simple fix.

steven jones’s picture

Issue summary: View changes

lamp5’s picture

Assigned: steven jones » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.