<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\FooterBlocks\SocialLinks;

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

class FooterColumnSocialLinksLinkFieldEntity extends LinkFieldEntity
{
  public static string $name = 'footer_column_social_links_link';
  protected string $label = 'Link URL';
  protected LinkFieldReturnFormatEnum $returnFormat = LinkFieldReturnFormatEnum::Array;

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

}
