public function variables()
    {
        return [
            'id'         => $this->elementId,
            'tools'      => $this->tools->render(),
            'items'      => $this->getItems(),
            'useCreate'  => $this->useCreate,
            'useSave'    => $this->useSave,
            'useRefresh' => $this->useRefresh,
        ];
    }
public function variables()
    {
        return [
            'id'         => $this->elementId,
            'tools'      => $this->tools->render(),
            'items'      => $this->getItems(),
            'useCreate'  => $this->useCreate,
            'useSave'    => $this->useSave,
            'useRefresh' => $this->useRefresh,
        ];
    }
public function variables ( ) { return [ 'id' => $ this -> elementId , 'tools' => $ this -> tools -> render ( ) , 'items' => $ this -> getItems ( ) , 'useCreate' => $ this -> useCreate , 'useSave' => $ this -> useSave , 'useRefresh' => $ this -> useRefresh , ] ; }
Variables in tree template.

@return array
Variables in tree template .