''); return $options; } /** * {@inheritdoc} */ public function options_form(&$form, &$form_state) { parent::options_form($form, $form_state); $form['argument'] = array( '#type' => 'textfield', '#title' => t('Fixed value'), '#default_value' => $this->options['argument'], ); } /** * Return the default argument. */ public function get_argument() { return $this->options['argument']; } /** * {@inheritdoc} */ public function convert_options(&$options) { if (!isset($options['argument']) && isset($this->argument->options['default_argument_fixed'])) { $options['argument'] = $this->argument->options['default_argument_fixed']; } } } /** * @} */