Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By paulbutcher on
I can find a number of example snippets on this site, but I'm struggling to find any documentation on what facilities (variables, functions etc) are available to a snippet. I'm sure that I'm just being blind, but I would greatly appreciate it if someone could point me in the right direction.
Thanks!
Comments
this may help..
Hi Paul,
Try the http://drupaldocs.org/
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
Thanks, but I was after the "higher level" view if possible
Thanks. I've looked at the drupaldocs site, but the bit of information that I'm missing is exactly how that relates to PHP snippets. Is it the case that I can call *any* function from a snippet (I doubt that I can?) What kind of context is set up before a snippet is called?
What I'm really after is the "10000 foot view" of PHP Snippets. Something to give me the lie of the land so that I can then understand what drupaldocs is telling me.
Is there something like this out there?