Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.09 KB

configuration.md

File metadata and controls

32 lines (28 loc) · 1.09 KB

FSiAdminBundle configuration

Below is reference for configuration of all bundle parameters, with default values:

# config/config.yaml

fsi_admin:
    default_locale: %locale%
    # used for interface translation
    locales:
        - %locale%
    # used for integration with fsi/translatable
    translatable_locales:
        - %locale%
    menu_config_path: %kernel.project_dir%/config/admin_menu.yaml
    templates:
        base: @FSiAdmin/base.html.twig
        index_page: @FSiAdmin/Admin/index.html.twig
        list: @FSiAdmin/List/list.html.twig
        form: @FSiAdmin/Form/form.html.twig
        crud_list: @FSiAdmin/CRUD/list.html.twig
        # by default the value of `templates.form` option is copied here,
        # but you can overwrite it
        crud_form: @FSiAdmin/Form/form.html.twig
        resource: @FSiAdmin/Resource/resource.html.twig
        display: @FSiAdmin/Display/display.html.twig
        datagrid_theme: @FSiAdmin/CRUD/datagrid.html.twig
        datasource_theme: @FSiAdmin/CRUD/datasource.html.twig
        form_theme: @FSiAdmin/Form/form_div_layout.html.twig