<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\AccordionGroup;

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

class AccordionSubheaderFieldEntity extends TextFieldEntity
{
  public static string $name = 'accordion_subheader';
  protected string $label = 'Subheader';

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