<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\AccordionGroup\CaptionedMedia;

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

class AccordionCaptionedMediaCaptionFieldEntity extends TextareaFieldEntity
{
  public static string $name = 'accordion_captioned_media_caption';
  protected string $label = 'Media Caption';
  protected string $instructions = 'Captions give context to a piece of content. Information in a caption is available to sighted users and screen readers.';

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

}
