<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\FactoidCollection;

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


class FactoidFootnoteLinkFieldEntity extends LinkFieldEntity
{
  public static string $name = 'factoid_footnote_link';
  protected string $label = 'Link to Fact Source';
  protected LinkFieldReturnFormatEnum $returnFormat = LinkFieldReturnFormatEnum::Array;

  protected array $initConditionalLogic = [
    [
      [ FactoidFootnoteSwitchFieldEntity::class, OperatorEnum::EQUALS, '1' ]
    ]
];

}
