<?php
declare(strict_types=1);

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

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

class CaptionedMediaCaptionFieldEntity extends TextareaFieldEntity
{
  public static string $name = '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 = [
    [
      [ CaptionedMediaSwitchFieldEntity::class, OperatorEnum::EQUALS, '1' ],
    ]
  ];

}
