public function olark_context_reaction_add::options_form in Olark Chat 7
Same name and namespace in other branches
- 6 plugins/olark_context_reaction_add.inc \olark_context_reaction_add::options_form()
Builds and options form for Olark context.
Overrides context_reaction::options_form
File
- plugins/
olark_context_reaction_add.inc, line 16 - Adds a Context module reaction for the Olark module.
Class
- olark_context_reaction_add
- Add Olark code to the page.
Code
public function options_form($context) {
return array(
'add' => array(
'#type' => 'value',
'#value' => TRUE,
),
'note' => array(
'#type' => 'markup',
'#value' => t('Olark chat code will be added to the page.'),
),
);
}