<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SidebarComponents\LinkedCard;

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

class SidebarLinkedCardSubheaderFieldEntity extends TextFieldEntity
{
  public static string $name = 'sidebar_linked_card_subheader';
  protected string $label = 'Subheader';

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