<?php
declare(strict_types=1);

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

use AuxCF\Entities\Field\TextFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Enum\SocialMediaProfilesEnum;
use WP_AUX\Services\AuxFramework\PersonnelFieldsService;

class FooterColumnSocialLinksHandleFieldEntity extends TextFieldEntity
{
  public static string $name = 'footer_column_social_links_handle';
  protected string $label = 'Handle';
  protected string $instructions = PersonnelFieldsService::PERSONNEL_HANDLE_FIELD_HELP;

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

}
