function context_reaction_theme::editor_form in Context 6
Same name and namespace in other branches
- 6.3 plugins/context_reaction_theme.inc \context_reaction_theme::editor_form()
- 7.3 plugins/context_reaction_theme.inc \context_reaction_theme::editor_form()
Editor form.
File
- plugins/
context_reaction_theme.inc, line 10
Class
- context_reaction_theme
- Expose themes as context reactions.
Code
function editor_form($context) {
$form = $this
->options_form($context);
// Hide descriptions which take up too much space.
unset($form['title']['#description']);
unset($form['subtitle']['#description']);
unset($form['class']['#description']);
return $form;
}