<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\AccordionGroup\CaptionedMedia;

use AuxCF\Entities\Field\RadioFieldEntity;
use AuxCF\Entities\Field\Enum\ChoicesFieldLayoutEnum;
use AuxCF\Entities\Settings\Enum\OperatorEnum;

class AccordionCaptionedMediaAlignmentFieldEntity extends RadioFieldEntity
{
  public static string $name = 'accordion_captioned_media_alignment';
  protected string $label = 'Captioned Media Position';
  protected mixed $choices = [
    'top' => 'Top',
    'bottom' => 'Bottom',
  ];
  protected ChoicesFieldLayoutEnum $layout = ChoicesFieldLayoutEnum::Horizontal;

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

}
