Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
product_configurable_with_media_gallery_video.php File Reference

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $mediaGalleryEntryFactory
 
 $imageContentFactory = $objectManager->get(\Magento\Framework\Api\Data\ImageContentInterfaceFactory::class)
 
 $imageContent = $imageContentFactory->create()
 
 $testImagePath = __DIR__ .'/magento_image.jpg'
 
 $video = $mediaGalleryEntryFactory->create()
 
 $mediaGalleryEntryExtensionFactory
 
 $mediaGalleryEntryExtension = $mediaGalleryEntryExtensionFactory->create()
 
 $videoContentFactory
 
 $videoContent = $videoContentFactory->create()
 
 $mediaGalleryManagement
 

Variable Documentation

◆ $imageContent

$imageContent = $imageContentFactory->create()

◆ $imageContentFactory

$imageContentFactory = $objectManager->get(\Magento\Framework\Api\Data\ImageContentInterfaceFactory::class)

◆ $mediaGalleryEntryExtension

$mediaGalleryEntryExtension = $mediaGalleryEntryExtensionFactory->create()

◆ $mediaGalleryEntryExtensionFactory

$mediaGalleryEntryExtensionFactory
Initial value:
\Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtensionFactory::class
)

Definition at line 44 of file product_configurable_with_media_gallery_video.php.

◆ $mediaGalleryEntryFactory

$mediaGalleryEntryFactory
Initial value:
\Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory::class
)

Definition at line 18 of file product_configurable_with_media_gallery_video.php.

◆ $mediaGalleryManagement

$mediaGalleryManagement
Initial value:
\Magento\Catalog\Api\ProductAttributeMediaGalleryManagementInterface::class
)

Definition at line 69 of file product_configurable_with_media_gallery_video.php.

◆ $objectManager

◆ $testImagePath

$testImagePath = __DIR__ .'/magento_image.jpg'

◆ $video

$video = $mediaGalleryEntryFactory->create()

◆ $videoContent

$videoContent = $videoContentFactory->create()

◆ $videoContentFactory

$videoContentFactory
Initial value:
\Magento\Framework\Api\Data\VideoContentInterfaceFactory::class
)

Definition at line 52 of file product_configurable_with_media_gallery_video.php.