<?php
declare(strict_types=1);

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

use AuxCF\Entities\Field\SelectFieldEntity;
use AuxCF\Entities\Field\Enum\ChoicesFieldLayoutEnum;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Enum\CaptionedMediaAlignmentOptionsEnum;

class CaptionedMediaAlignmentFieldEntity extends SelectFieldEntity
{
  public static string $name = 'captioned_media_alignment';
  protected string $label = 'Captioned Media Position';
  protected mixed $choices = CaptionedMediaAlignmentOptionsEnum::class;

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