Problem/Motivation
Can't reuse getMediaTypes() method as it is private.
Class MediaTypeResolver can be injected in other plugins or classes but unable to use this generic method.
There is an another method for same functionality getDamMediaTypes(), so this dup needs to be removed and replaced with the getMediaTypes().
Proposed resolution
- Change the scope of this getMediaTypes method to public and use wherever it is required.
- Replace getDamMediaTypes() with getMediaTypes() accordingly.
- Remove the getDamMediaTypes() method from AssetUpdater class.
Issue fork acquia_dam-3561028
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
Comment #2
ankitv18 commentedComment #3
rajeshreeputraComment #4
ankitv18 commentedComment #6
rajeshreeputraComment #7
rajeshreeputraRebased.
Comment #9
rohan-sinha commentedComment #14
rajeshreeputraMR merged!