Admin/MenuAdmin.php
protected function configureListFields(ListMapper $listMapper)
    {
        $this->positionHandler->setLastPositions($this->getLastPositionsFromDb());

        $listMapper
            ->addIdentifier('id')
            ->add('name', 'string', array('template' => 'SkillbertoSonataPageMenuBundle:Admin:base_list_field.html.twig'))
            ->add('page')
            ->add('parent')
            ->add('active')
            ->add('clickable')
            ->add(
                '_action',
                'actions',
                array(
                'actions' => array(
                    'edit'      => array(),
                    'delete'    => array(),
                    'activate'  => array('template' => 'SkillbertoSonataPageMenuBundle:Admin:list__action_activate.html.twig'),
                    'move'      => array('template' => 'SkillbertoSonataPageMenuBundle:Admin:list__action_sort.html.twig')
                    )
                )
            )
        ;
    }
protected function configureListFields(ListMapper $listMapper)
    {
        $this->positionHandler->setLastPositions($this->getLastPositionsFromDb());

        $listMapper
            ->addIdentifier('id')
            ->add('name', 'string', array('template' => 'SkillbertoSonataPageMenuBundle:Admin:base_list_field.html.twig'))
            ->add('page')
            ->add('parent')
            ->add('active')
            ->add('clickable')
            ->add(
                '_action',
                'actions',
                array(
                'actions' => array(
                    'edit'      => array(),
                    'delete'    => array(),
                    'activate'  => array('template' => 'SkillbertoSonataPageMenuBundle:Admin:list__action_activate.html.twig'),
                    'move'      => array('template' => 'SkillbertoSonataPageMenuBundle:Admin:list__action_sort.html.twig')
                    )
                )
            )
        ;
    }
@param \Sonata\AdminBundle\Datagrid\ListMapper $listMapper

@return void