function contextphp_reaction_php::editor_form in Context PHP 7
Same name and namespace in other branches
- 6 plugins/contextphp_reaction_php.inc \contextphp_reaction_php::editor_form()
Editor form.
File
- plugins/
contextphp_reaction_php.inc, line 15 - contextphp_reaction_php.inc Adds php reaction to Context
Class
- contextphp_reaction_php
- PHP code as a Context reaction.
Code
function editor_form($context) {
$form['#type'] = 'value';
$form['#value'] = TRUE;
return $form;
}