Skip to content

Instantly share code, notes, and snippets.

@EclipseGc
Forked from anonymous/gist:5853729
Last active December 18, 2015 22:19
Show Gist options
  • Save EclipseGc/5853734 to your computer and use it in GitHub Desktop.
Save EclipseGc/5853734 to your computer and use it in GitHub Desktop.
node_page_edit:
pattern: '/music/{album}/{artist}'
defaults:
_content: 'Drupal\music\MusicController::view'
requirements:
_permission: 'yeap'
options:
converter:
album: 'paramconverter.typed_data'
artist: 'paramconverter.typed_data'
typeddata:
album:
type: 'entity'
constriants:
EntityType: album
artist:
type: 'entity'
constriants:
EntityType: artist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment