To use tabs in the Form builder, you can chain the ->hasTabs() method. Here is an example:
class PostForm extends FormAbstract
{
public function setup(): void
{
$this
->model(Post::class)
->hasTabs()
// ...
}
}
Then, you can hook into the BASE_FILTER_REGISTER_CONTENT_TABS
filter to register a tab item, and the BASE_FILTER_REGISTER_CONTENT_TAB_INSIDE
filter to register a tab pane.