<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\LinkListMultiList;

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

class LinkListMultiListMegaFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'link_list_multi_list_mega';
  protected string $label = 'Link List (Columns)';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Row;
  protected int $min = 1;
  protected ?int $max = 4;
  protected string $buttonLabel = 'Add Link List (Column)';
  protected string $instructions = 'Each new link list will appear in a separate column with a heading.';

  protected array $initFields = [
    LinkListMultiListHeadingEntity::class,
    LinkListMultiListFieldEntity::class,
  ];
}
