<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\FactoidCollection;

use AuxCF\Entities\Field\TextFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;

class FactoidSubheaderFieldEntity extends TextFieldEntity
{
  public static string $name = 'factoid_subheader';
  protected string $label = 'Subheader';

  protected array $initConditionalLogic = [
    [[ FactoidHeadersSwitchFieldEntity::class, OperatorEnum::EQUALS, 'subheader' ]],
  ];
}
