<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\CollectionFeature\Collections\SocialLinks;

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

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

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

}
