Toolbar Extension

Toolbar options:

[
    'hide'       => false,
    'pageSize'   => [
        'hide'  => false,
        'items' => [10, 25, 50, 100],
        'default_per_page' => 25,
    ],
    'pagination' => [
        'hide' => false,
    ]
];
  • hide - will hide toolbar. Can take values true or false.
  • pageSize - array, next parameters could be included:
    • hide - hide or show number of items per page selector
    • items - items per page
    • default_per_page - item per page by default
  • pagination - show or hide pagination block as well as off the paginator extension.