Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added opengraph handler for keymedia field type, which can be used with NetgenOpenGraphBundle #3

Open
wants to merge 1 commit into
base: 5.2
Choose a base branch
from

Conversation

iherak
Copy link

@iherak iherak commented Apr 22, 2015

This PR adds opengraph handler for keymedia field type.
This handler is used with NetgenOpenGraphBundle to configure and dynamically create opengraph tags, per content type.

Usage is similar to other field type handlers defined in https://github.com/netgen/NetgenOpenGraphBundle/blob/master/Resources/doc/USAGE.md

  • { handler: field_type/keymedia, tag: 'og:image', params: ['image', 'Large'] }

First parameter is the field type identifier, the second parameter is the format (named or not named). Both parameters are required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant