<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFields\Page;

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

class PageCtasFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'aux_page_ctas';
	public static string $nickname = 'ctas';

  protected string $label = 'Page CTAs';
  protected string $instructions = 'Only two CTAs will be displayed on standard and landing page headers.';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Row;
  protected ?int $max = 4; // home page headers support four CTAs, but standard and home page headers will only display 2

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