<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SlabIntro;

use AuxCF\Entities\Field\LinkFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use AuxCF\Entities\Field\Enum\LinkFieldReturnFormatEnum;

class SlabIntroCtaFieldEntity extends LinkFieldEntity
{
  public static string $name = 'slab_intro_cta_link';
  protected string $label = 'CTA Button (Optional)';
  protected LinkFieldReturnFormatEnum $returnFormat = LinkFieldReturnFormatEnum::Array;

  protected array $initConditionalLogic = [
    [[ SlabIntroCtaSwitchFieldEntity::class, OperatorEnum::EQUALS, '1' ]],
  ];

}
