<?php
declare(strict_types=1);

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

use AuxCF\Entities\Field\TextareaFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Entities\AuxCF\Fields\CustomContent\CustomContentSidebarSelectFieldEntity;
use WP_AUX\Enum\SidebarComponentEnum;

class SidebarDescriptionListDescriptionFieldEntity extends TextareaFieldEntity
{
  public static string $name = 'sidebar_desc_list_desc';
  protected string $label = 'Description';

  protected array $initConditionalLogic = [
    [
      [ CustomContentSidebarSelectFieldEntity::class, OperatorEnum::EQUALS, SidebarComponentEnum::DescList ],
    ]
  ];

}
