original_string: public function getAllTypes($dc)
  	{
  		if($GLOBALS['TL_CONFIG']['subcolumns'] != 'bootstrap_customizable') {
  			$sc = new \tl_content_sc();
  			return $sc->getAllTypes();
  		}
  
  		$this->import('Database');
  		$collection = $this->Database->execute('SELECT columns FROM tl_columnset GROUP BY columns ORDER BY columns');
  
  		$types = array();
  
  		while($collection->next()) {
  			$types[] = $collection->columns;
  		}
  
  		return $types;
  	}
code: public function getAllTypes($dc)
  	{
  		if($GLOBALS['TL_CONFIG']['subcolumns'] != 'bootstrap_customizable') {
  			$sc = new \tl_content_sc();
  			return $sc->getAllTypes();
  		}
  
  		$this->import('Database');
  		$collection = $this->Database->execute('SELECT columns FROM tl_columnset GROUP BY columns ORDER BY columns');
  
  		$types = array();
  
  		while($collection->next()) {
  			$types[] = $collection->columns;
  		}
  
  		return $types;
  	}
code_tokens: public function getAllTypes ( $ dc ) { if ( $ GLOBALS [ 'TL_CONFIG' ] [ 'subcolumns' ] != 'bootstrap_customizable' ) { $ sc = new \ tl_content_sc ( ) ; return $ sc -> getAllTypes ( ) ; } $ this -> import ( 'Database' ) ; $ collection = $ this -> Database -> execute ( 'SELECT columns FROM tl_columnset GROUP BY columns ORDER BY columns' ) ; $ types = array ( ) ; while ( $ collection -> next ( ) ) { $ types [ ] = $ collection -> columns ; } return $ types ; }
docstring: replace subcolumns getAllTypes method, to load all created columnsets. There is a fallback provided if not
  bootstra_customizable is used
  
  @param DC_Table $dc
  @return array
docstring_tokens: replace subcolumns getAllTypes method to load all created columnsets . There is a fallback provided if not bootstra_customizable is used