You are here

function contextphp_reaction_php::editor_form in Context PHP 6

Same name and namespace in other branches
  1. 7 plugins/contextphp_reaction_php.inc \contextphp_reaction_php::editor_form()

Editor form.

File

plugins/contextphp_reaction_php.inc, line 10

Class

contextphp_reaction_php
PHP code as a Context reaction.

Code

function editor_form($context) {
  $form['#type'] = 'value';
  $form['#value'] = TRUE;
  return $form;
}