src/Compo/Sonata/AdminBundle/Form/FormMapper.php
public function tab($name, array $options = [])
    {
        if (!isset($options['label'])) {
            $options['label'] = 'form.tab_' . $name;
        }

        return parent::tab($name, $options);
    }
public function tab($name, array $options = [])
    {
        if (!isset($options['label'])) {
            $options['label'] = 'form.tab_' . $name;
        }

        return parent::tab($name, $options);
    }
public function tab ( $ name , array $ options = [ ] ) { if ( ! isset ( $ options [ 'label' ] ) ) { $ options [ 'label' ] = 'form.tab_' . $ name ; } return parent :: tab ( $ name , $ options ) ; }
Add new tab.

@param string $name
@param array  $options

@return BaseGroupedMapper
Add new tab .