<?php
declare(strict_types=1);

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

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

class CaptionedMediaVideoLinkFieldEntity extends LinkFieldEntity
{
  public static string $name = 'captioned_media_video_link';
  protected string $label = 'Video Link';
  protected LinkFieldReturnFormatEnum $returnFormat = LinkFieldReturnFormatEnum::Array;

  protected array $initConditionalLogic = [
    [
      [ CaptionedMediaTypeFieldEntity::class, OperatorEnum::EQUALS, 'video' ],
    ]
  ];

}
