src/system/modules/subcolumns_bootstrap_customizable/classes/Netzmacht/ColumnSet/ColumnSet.php
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;
	}
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;
	}
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 ; }
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
replace subcolumns getAllTypes method to load all created columnsets . There is a fallback provided if not bootstra_customizable is used