CoolCMS API

TreePositionComponent

Table of Contents

Classes

TreePosition
Position choice of a node among the children of the target parent: "To the end / To the start / After item..." (the edit form adds "Keep current position"). Shared by the "Move to..." modal of the admin grid ({@see \App\UI\Admin\System\Components\DataGridComponent\Traits\TreeMoveTrait}) and by tree edit forms, so the conversion of the choice into a move ({@see TreeMovePlan}) exists once.
TreePositionConfig
Configuration of one {@see TreePosition} instance: where to take the children of the target parent from and which form the choice belongs to. A pure value object (not a DI service, `config/common.neon` excludes it from search, like `PickerConfig`).
TreePositionFactory
Factory for {@see TreePosition}; the decorator supplies `AppContext`, hence the empty constructor.
On this page

Search results