Skip to content
On this page

Filter Reference

admin_navigation_main

INFO

Called after preparing the AdminUI sidebar items. Allows you to add or remove navigation items, change titles or icons or even href locations

Return: array

ParameterTypeDescription
$valuearrayAn array of navigation items

Example navigation item

php
[
    "id" => 1
    "ref" => "dashboard"
    "title" => "Dashboard"
    "route" => "admin.home"
    "icon" => "mdi-speedometer"
    "parent_id" => 0
    "permissions" => null
    "package" => "AdminUI"
    "is_active" => true
    "sort_order" => 1
    "created_at" => "2022-10-02T16:50:46.000000Z"
    "updated_at" => "2022-10-02T16:50:46.000000Z"
    "children" => Illuminate\Database\Eloquent\Collection {#2725 ▶}
]

Ecommerce

admin_products_query

INFO

The search query from the AdminUI Ecommerce->Catalogue->Products page

Return: Illuminate\Database\Eloquent\Builder

ParameterTypeDescription
$queryBuilderThe Eloquent Query Builder instance
$requestRequestThe Illuminate HTTP Request instance
$dataarrayValidated request data (see below)

$data

php
[
    'show_active' => ['sometimes', 'boolean'],
    'show_featured' => ['sometimes', 'boolean'],
    'show_parents' => ['sometimes', 'boolean'],
]

AdminUI is a product of southcoastweb