Skip to content

Instantly share code, notes, and snippets.

@vijaycs85
Created April 29, 2015 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vijaycs85/a748eebb83064e91076a to your computer and use it in GitHub Desktop.
Save vijaycs85/a748eebb83064e91076a to your computer and use it in GitHub Desktop.
pjonckiere: vijaycs85: I'm a bit confused on that callback code, is there any way to use the new function without the $callback variable?
14:32 pjonckiere: vijaycs85: https://www.drupal.org/node/2429443
14:32 pjonckiere: vijaycs85: or is that impossible due to the variables?
14:32 vijaycs85: pjonckiere: not sure, how to.. we need to pass the language code
14:33 vijaycs85: pjonckiere: and I don't think we can make the language as property (as you can see it's calculated above the code from $this->langcode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment