Problem/Motivation

spin off from #3411452: It works with private images, not working with thumbnails - More field formatters (like blazy) should be usable with this module.

Steps to reproduce

Proposed resolution

Add a hook to let users add ther own formatters to the allowed formatters.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

stefan.korn created an issue. See original summary.

stefan.korn’s picture

Status: Active » Needs review

Hook for adding formatters, like so:

function hook_media_parent_entity_link_alter_formatters(&$formatters) {
  $formatters[] = 'blazy';
}

works with blazy as far as I can tell.

Feature is now in dev branch.

  • stefan.korn committed 1b410c70 on 8.x-1.x
    Issue #3485804: Allow for more formatters via hook - fix typo, thanks @...
stefan.korn’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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