Admin/DynamicListNavigationProvider.php
public function getNavigationItems(array $options = [])
    {
        $items = [];

        $page = null;
        $action = 'form-list';
        if (array_key_exists('page', $options)) {
            $page = (int) $options['page'];

            if ($page > 1) {
                $action = 'page:' . $page . '/' . $action;
            }
        }

        foreach ($this->config as $config) {
            $name = 'sulu_form.form';
            if (isset($config['name'])) {
                $name = $config['name'];
            }

            $item = new ContentNavigationItem($name);
            $item->setAction($action);
            $item->setDisplay(['edit']);
            $item->setComponent('dynamics/list@suluform');

            $item->setComponentOptions([
                'page' => $page,
                'property' => $config['property'],
                'view' => isset($config['view']) ? $config['view'] : 'default',
                'type' => isset($config['type']) ? $config['type'] : null,
                'width' => isset($config['width']) ? $config['width'] : 'fixed',
            ]);

            if (isset($config['position'])) {
                $item->setPosition($config['position']);
            }

            if (isset($config['template'])) {
                $item->setDisplayConditions(
                    [
                        new DisplayCondition('template', DisplayCondition::OPERATOR_EQUAL, $config['template']),
                    ]
                );
            }

            $items[] = $item;
        }

        return $items;
    }
public function getNavigationItems(array $options = [])
    {
        $items = [];

        $page = null;
        $action = 'form-list';
        if (array_key_exists('page', $options)) {
            $page = (int) $options['page'];

            if ($page > 1) {
                $action = 'page:' . $page . '/' . $action;
            }
        }

        foreach ($this->config as $config) {
            $name = 'sulu_form.form';
            if (isset($config['name'])) {
                $name = $config['name'];
            }

            $item = new ContentNavigationItem($name);
            $item->setAction($action);
            $item->setDisplay(['edit']);
            $item->setComponent('dynamics/list@suluform');

            $item->setComponentOptions([
                'page' => $page,
                'property' => $config['property'],
                'view' => isset($config['view']) ? $config['view'] : 'default',
                'type' => isset($config['type']) ? $config['type'] : null,
                'width' => isset($config['width']) ? $config['width'] : 'fixed',
            ]);

            if (isset($config['position'])) {
                $item->setPosition($config['position']);
            }

            if (isset($config['template'])) {
                $item->setDisplayConditions(
                    [
                        new DisplayCondition('template', DisplayCondition::OPERATOR_EQUAL, $config['template']),
                    ]
                );
            }

            $items[] = $item;
        }

        return $items;
    }
{@inheritdoc}