<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\FieldGroups;

use AuxCF\Entities\FieldGroupEntity;
use WP_AUX\Entities\AuxCF\Fields\Section\SectionBackgroundFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Section\SectionStyleFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Video\VideoFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\VideoEmbed\VideoEmbedHeadingFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\VideoEmbed\VideoEmbedDescriptionFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\VideoEmbed\VideoEmbedCtaTypeFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\VideoEmbed\VideoEmbedCtaLinkFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\VideoEmbed\VideoEmbedShareSwitchFieldEntity;

class AcfVideoEmbedEntity extends FieldGroupEntity

{
  public static string $key = 'aux_video_embed';
  public static string $documentationPath = 'components-video-embed-about-video-embeds--docs';

  protected array $initFields = [
    SectionBackgroundFieldEntity::class,
    SectionStyleFieldEntity::class,
    VideoEmbedHeadingFieldEntity::class,
    VideoEmbedDescriptionFieldEntity::class,
    VideoFieldEntity::class,
    VideoEmbedCtaTypeFieldEntity::class,
    VideoEmbedCtaLinkFieldEntity::class,
    VideoEmbedShareSwitchFieldEntity::class,
  ];

  protected array $deprecatedFields = [
    'video_embed_video_link' => [
      'label' => 'Video Link',
      'replaced_with' => VideoFieldEntity::class
    ],
  ];
}
