Could anybody suggest a way that I might be able to get the "options" object in the PHP code of my custom behavior module?

The options I'm referring to are the same ones that are passed into the defined JavaScript file that ultimately executes the behavior.

I need to do some operations on the server-side as part of my custom behavior, so I need a way to retrieve these options.

Thanks in advance!

Strainy

Comments

m.stenta’s picture

Status: Active » Closed (fixed)

Behavior plugins no longer exist, and a lot of the plugin architecture has been refactored - so what you're trying to achieve is now a lot easier to do (using the options in PHP). Check out some of the other plugins in the new codebase - they provide a great example.