Trigger a Drupal Context programatically


/ Published in: PHP
Save to your folder(s)

It's not immediately clear from the `context_set()` function how to trigger a context to be "active" using code. Do it like this:

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.