<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\Section;

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

class SectionRowAnchorFieldEntity extends TextFieldEntity
{
  public static string $name = 'section_row_anchor';
  protected string $label = 'Custom Row Anchor';
  protected string $instructions = 'Create a unique anchor ID. Replace all spaces with hyphens and make the text lowercase (i.e., example-row-anchor).';

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