<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\Video;

use AuxCF\Entities\Field\UrlFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;

class VideoLinkFieldEntity extends UrlFieldEntity
{
  public static string $name = 'video_url';
  protected string $label = 'Video URL';

  protected array $initConditionalLogic = [
    [
      [ VideoSourceFieldEntity::class, OperatorEnum::EQUALS, 'external' ],
    ],
  ];
}
