public function configureFolderPage($dc)
    {
        if (null === $dc->activeRecord || 'folder' !== $dc->activeRecord->type) {
            return;
        }

        $this->db->update(
            'tl_page',
            [
                'alias' => '',
                'noSearch' => '1',
                'sitemap' => 'map_never',
                'published' => '1',
                'start' => '',
                'stop' => '',
            ],
            [
                'id' => $dc->id,
            ]
        );
    }
public function configureFolderPage($dc)
    {
        if (null === $dc->activeRecord || 'folder' !== $dc->activeRecord->type) {
            return;
        }

        $this->db->update(
            'tl_page',
            [
                'alias' => '',
                'noSearch' => '1',
                'sitemap' => 'map_never',
                'published' => '1',
                'start' => '',
                'stop' => '',
            ],
            [
                'id' => $dc->id,
            ]
        );
    }
public function configureFolderPage ( $ dc ) { if ( null === $ dc -> activeRecord || 'folder' !== $ dc -> activeRecord -> type ) { return ; } $ this -> db -> update ( 'tl_page' , [ 'alias' => '' , 'noSearch' => '1' , 'sitemap' => 'map_never' , 'published' => '1' , 'start' => '' , 'stop' => '' , ] , [ 'id' => $ dc -> id , ] ) ; }
Sets fixed configuration for a folder page.

@param \Contao\DataContainer $dc
Sets fixed configuration for a folder page .