Documentation
¶
Index ¶
- type BreadcrumbItem
- type BreadcrumbsBlockType
- func (t *BreadcrumbsBlockType) GetAdminFields(block cmsstore.BlockInterface, r *http.Request) interface{}
- func (t *BreadcrumbsBlockType) GetPreview(block cmsstore.BlockInterface) string
- func (t *BreadcrumbsBlockType) Render(ctx context.Context, block cmsstore.BlockInterface) (string, error)
- func (t *BreadcrumbsBlockType) SaveAdminFields(r *http.Request, block cmsstore.BlockInterface) error
- func (t *BreadcrumbsBlockType) TypeKey() string
- func (t *BreadcrumbsBlockType) TypeLabel() string
- func (t *BreadcrumbsBlockType) Validate(block cmsstore.BlockInterface) error
- type MenuPathItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BreadcrumbItem ¶
BreadcrumbItem represents a single breadcrumb item
type BreadcrumbsBlockType ¶
type BreadcrumbsBlockType struct {
// contains filtered or unexported fields
}
BreadcrumbsBlockType represents a breadcrumbs block for navigation
func NewBreadcrumbsBlockType ¶
func NewBreadcrumbsBlockType(store cmsstore.StoreInterface) *BreadcrumbsBlockType
NewBreadcrumbsBlockType creates a new breadcrumbs block type
func (*BreadcrumbsBlockType) GetAdminFields ¶
func (t *BreadcrumbsBlockType) GetAdminFields(block cmsstore.BlockInterface, r *http.Request) interface{}
GetAdminFields returns form fields for editing breadcrumbs block configuration.
func (*BreadcrumbsBlockType) GetPreview ¶
func (t *BreadcrumbsBlockType) GetPreview(block cmsstore.BlockInterface) string
GetPreview returns a preview of the breadcrumbs block
func (*BreadcrumbsBlockType) Render ¶
func (t *BreadcrumbsBlockType) Render(ctx context.Context, block cmsstore.BlockInterface) (string, error)
Render renders the breadcrumbs block for frontend display
func (*BreadcrumbsBlockType) SaveAdminFields ¶
func (t *BreadcrumbsBlockType) SaveAdminFields(r *http.Request, block cmsstore.BlockInterface) error
SaveAdminFields processes form submission and updates the breadcrumbs block.
func (*BreadcrumbsBlockType) TypeKey ¶
func (t *BreadcrumbsBlockType) TypeKey() string
TypeKey returns the unique identifier for this block type
func (*BreadcrumbsBlockType) TypeLabel ¶
func (t *BreadcrumbsBlockType) TypeLabel() string
TypeLabel returns the human-readable display name
func (*BreadcrumbsBlockType) Validate ¶
func (t *BreadcrumbsBlockType) Validate(block cmsstore.BlockInterface) error
Validate validates the breadcrumbs block configuration
type MenuPathItem ¶
MenuPathItem represents an item in the menu path