<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SocialBanner;

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

class SocialBannerLinksLinkFieldEntity extends LinkFieldEntity
{
  public static string $name = 'social_banner_links_link';
  protected string $label = 'Profile Link';
  protected LinkFieldReturnFormatEnum $returnFormat = LinkFieldReturnFormatEnum::Array;

  protected array $initConditionalLogic = [
    [
      [ SocialBannerPlatformFieldEntity::class, OperatorEnum::EQUALS, SocialMediaProfilesEnum::LinkedIn ],
    ]
  ];

}
