<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\CustomContent;

use AuxCF\Entities\Field\SelectFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Enum\SidebarComponentEnum;

class CustomContentSidebarSelectFieldEntity extends SelectFieldEntity
{
  public static string $name = 'custom_content_sidebar_select';
  protected string $label = 'Sidebar Component';
  protected mixed $choices = SidebarComponentEnum::class;

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

}
