<?php
declare(strict_types=1);

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

use AuxCF\Entities\Field\TextFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Services\AuxFramework\MediaFieldsService;

class AccordionCaptionedMediaCreditFieldEntity extends TextFieldEntity
{
  public static string $name = 'accordion_captioned_media_credit';
  protected string $label = 'Media Credit';
  protected string $instructions = MediaFieldsService::ORG_FIELD_HELP;

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

}
