protected function configure($options = array(), $attributes = array())
 {
     parent::configure($options, $attributes);
     $this->addOption('alert_text', 'Are you sure you want to delete this item?\\nThe deletion will be complete once the form is saved.');
     $this->addOption('hide_parent', true);
     $this->addOption('parent_level', 6);
 }
 /**
  * @param array $options     An array of options
  * @param array $attributes  An array of default HTML attributes
  *
  * @see sfWidgetFormInput
  */
 protected function configure($options = array(), $attributes = array())
 {
     parent::configure($options, $attributes);
     if (sfConfig::get('app_ddToggleSwitchPlugin_include_js')) {
         $this->addOption('js_path', sfConfig::get('app_ddToggleSwitchPlugin_js_path'));
         $this->addOption('include_jquery', false);
     }
     self::$LABELS = isset($options['labels']) ? $options['labels'] : self::$LABELS;
 }
 public function configure($options = array(), $attributes = array())
 {
     parent::configure($options, $attributes);
 }