<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\LinkList;

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

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

  protected array $initFields = [
    LinkListLinkFieldEntity::class,
    LinkListLinkDescriptionSwitchFieldEntity::class,
    LinkListLinkDescriptionFieldEntity::class,
    LinkListLinkNestedSwitchFieldEntity::class,
    LinkListLinkNestedListFieldEntity::class,
  ];
}
