You are here

function backstretch_context_reaction_backstretch::options_form in Backstretch 7

Same name and namespace in other branches
  1. 7.2 plugins/backstretch_context_reaction_backstretch.inc \backstretch_context_reaction_backstretch::options_form()

Overrides context_reaction::options_form

File

plugins/backstretch_context_reaction_backstretch.inc, line 4

Class

backstretch_context_reaction_backstretch

Code

function options_form($context) {
  $values = $this
    ->fetch_from_context($context);
  return array(
    'backstretch_url' => array(
      '#type' => 'textfield',
      '#value' => isset($values['backstretch_url']) ? $values['backstretch_url'] : '',
      '#title' => t('Backstretch URL'),
    ),
  );
}