You are here

function theme_context_ui_export_form in Context 6

Same name and namespace in other branches
  1. 6.2 context_ui/context_ui.admin.inc \theme_context_ui_export_form()

Themes a context value into an export friendly var_export().

1 theme call to theme_context_ui_export_form()
context_ui_export in context_ui/context_ui.admin.inc
Provides a form with an exported context definition for use in modules.

File

context_ui/context_ui.admin.inc, line 575

Code

function theme_context_ui_export_form($form) {
  $form['#value'] = $form['#default_value'] = context_var_export($form['#value'], '', FALSE);
  return theme('textarea', $form);
}