<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\LinkListMultiList;

use AuxCF\Entities\Field\Enum\RepeaterFieldLayoutEnum;
use AuxCF\Entities\Field\RepeaterFieldEntity;

class LinkListMultiListFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'link_list_multi_list';
  protected string $label = 'Link List';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Row;
  protected int $min = 1;
  protected string $buttonLabel = 'Add Link';

  protected array $initFields = [
    LinkListMultiListLinkFieldEntity::class,
    LinkListMultiListLinkDescriptionSwitchFieldEntity::class,
    LinkListMultiListLinkDescriptionFieldEntity::class,
    LinkListMultiListLinkNestedSwitchFieldEntity::class,
    LinkListMultiListLinkNestedListFieldEntity::class,
  ];
}
