PagerfantaBundle

Documentation

Version No Longer Supported

You are viewing the documentation for the 3.x branch of the PagerfantaBundle package which is no longer supported as of . You are advised to upgrade as soon as possible to a supported version.

Default Configuration

babdev_pagerfanta:
    # The default Pagerfanta view to use in your application
    default_view: default

    # The default Twig template to use when using the Twig Pagerfanta view
    default_twig_template: '@Pagerfanta/default.html.twig'

    exceptions_strategy:
        # The exception strategy if requesting a page outside the available pages in a paginated list; valid options are "custom" or "to_http_not_found"
        out_of_range_page: to_http_not_found

        # The exception strategy if the current page is not an allowed value in a paginated list; valid options are "custom" or "to_http_not_found"
        not_valid_current_page: to_http_not_found