original_string: public function getSettingsFields()
      {
          $fields = parent::getSettingsFields();
  
          $settings = FieldGroup::create(
              FieldGroup::create(
                  NumericField::create('Width', _t('CarouselPage.db_Width')),
                  NumericField::create('Height', _t('CarouselPage.db_Height')),
                  CheckboxField::create('Captions', _t('CarouselPage.db_Captions'))
              )
          );
          $settings->setName('Carousel');
          $settings->setTitle(_t('CarouselPage.SINGULARNAME'));
          $fields->addFieldToTab('Root.Settings', $settings);
  
          return $fields;
      }
code: public function getSettingsFields()
      {
          $fields = parent::getSettingsFields();
  
          $settings = FieldGroup::create(
              FieldGroup::create(
                  NumericField::create('Width', _t('CarouselPage.db_Width')),
                  NumericField::create('Height', _t('CarouselPage.db_Height')),
                  CheckboxField::create('Captions', _t('CarouselPage.db_Captions'))
              )
          );
          $settings->setName('Carousel');
          $settings->setTitle(_t('CarouselPage.SINGULARNAME'));
          $fields->addFieldToTab('Root.Settings', $settings);
  
          return $fields;
      }
code_tokens: public function getSettingsFields ( ) { $ fields = parent :: getSettingsFields ( ) ; $ settings = FieldGroup :: create ( FieldGroup :: create ( NumericField :: create ( 'Width' , _t ( 'CarouselPage.db_Width' ) ) , NumericField :: create ( 'Height' , _t ( 'CarouselPage.db_Height' ) ) , CheckboxField :: create ( 'Captions' , _t ( 'CarouselPage.db_Captions' ) ) ) ) ; $ settings -> setName ( 'Carousel' ) ; $ settings -> setTitle ( _t ( 'CarouselPage.SINGULARNAME' ) ) ; $ fields -> addFieldToTab ( 'Root.Settings' , $ settings ) ; return $ fields ; }
docstring: Add carousel related fields to the page settings.
  
  Every CarouselPage instance can have its own settings, that is
  different pages can own carousels of different sizes.
  
  @return FieldList
docstring_tokens: Add carousel related fields to the page settings .