Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
product_simple_with_media_gallery_entries.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

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

◆ $mediaGalleryEntryExtension

$mediaGalleryEntryExtension = $mediaGalleryEntryExtensionFactory->create()

◆ $mediaGalleryEntryExtensionFactory

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

Definition at line 44 of file product_simple_with_media_gallery_entries.php.

◆ $mediaGalleryEntryFactory

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

Definition at line 18 of file product_simple_with_media_gallery_entries.php.

◆ $mediaGalleryManagement

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

Definition at line 69 of file product_simple_with_media_gallery_entries.php.

◆ $objectManager

◆ $testImagePath

$testImagePath = __DIR__ .'/magento_image.jpg'

◆ $video

$video = $mediaGalleryEntryFactory->create()

◆ $videoContent

$videoContent = $videoContentFactory->create()

◆ $videoContentFactory

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

Definition at line 52 of file product_simple_with_media_gallery_entries.php.