protected function prepareStorage(&$storage)
    {
        // Fill storage with additional data before assigning to view
        if ($storage["tca"]) {
            foreach ($storage["tca"] as $key => $field) {
                if (is_array($field)) {
                    if ($field["config"]["type"] == "inline") {
                        $storage["tca"][$key]["inlineFields"] = $this->storageRepository->loadInlineFields($key);
                        uasort($storage["tca"][$key]["inlineFields"], function ($columnA, $columnB) {
                            $a = isset($columnA['order']) ? (int)$columnA['order'] : 0;
                            $b = isset($columnB['order']) ? (int)$columnB['order'] : 0;
                            return $a - $b;
                        });
                    }
                }
            }
        }
    }
protected function prepareStorage(&$storage)
    {
        // Fill storage with additional data before assigning to view
        if ($storage["tca"]) {
            foreach ($storage["tca"] as $key => $field) {
                if (is_array($field)) {
                    if ($field["config"]["type"] == "inline") {
                        $storage["tca"][$key]["inlineFields"] = $this->storageRepository->loadInlineFields($key);
                        uasort($storage["tca"][$key]["inlineFields"], function ($columnA, $columnB) {
                            $a = isset($columnA['order']) ? (int)$columnA['order'] : 0;
                            $b = isset($columnB['order']) ? (int)$columnB['order'] : 0;
                            return $a - $b;
                        });
                    }
                }
            }
        }
    }
protected function prepareStorage ( & $ storage ) { // Fill storage with additional data before assigning to view if ( $ storage [ "tca" ] ) { foreach ( $ storage [ "tca" ] as $ key => $ field ) { if ( is_array ( $ field ) ) { if ( $ field [ "config" ] [ "type" ] == "inline" ) { $ storage [ "tca" ] [ $ key ] [ "inlineFields" ] = $ this -> storageRepository -> loadInlineFields ( $ key ) ; uasort ( $ storage [ "tca" ] [ $ key ] [ "inlineFields" ] , function ( $ columnA , $ columnB ) { $ a = isset ( $ columnA [ 'order' ] ) ? ( int ) $ columnA [ 'order' ] : 0 ; $ b = isset ( $ columnB [ 'order' ] ) ? ( int ) $ columnB [ 'order' ] : 0 ; return $ a - $ b ; } ) ; } } } } }
Prepares the storage array for fluid view

@param array $storage
@author Benjamin Butschell <bb@webprofil.at>
Prepares the storage array for fluid view