Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() | |
$config = $objectManager->get(\Magento\Catalog\Model\Product\Media\Config::class) | |
$filesystem = $objectManager->get(\Magento\Framework\Filesystem::class) | |
$mediaDirectory = $filesystem->getDirectoryWrite(DirectoryList::MEDIA) | |
$mediaPath = $mediaDirectory->getAbsolutePath() | |
$baseTmpMediaPath = $config->getBaseTmpMediaPath() | |
$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class) | |
$productLink = $objectManager->create(\Magento\Catalog\Api\Data\ProductLinkInterface::class) | |
$baseTmpMediaPath = $config->getBaseTmpMediaPath() |
Definition at line 19 of file sitemap_products.php.
$config = $objectManager->get(\Magento\Catalog\Model\Product\Media\Config::class) |
Definition at line 12 of file sitemap_products.php.
$filesystem = $objectManager->get(\Magento\Framework\Filesystem::class) |
Definition at line 15 of file sitemap_products.php.
$mediaDirectory = $filesystem->getDirectoryWrite(DirectoryList::MEDIA) |
Definition at line 17 of file sitemap_products.php.
$mediaPath = $mediaDirectory->getAbsolutePath() |
Definition at line 18 of file sitemap_products.php.
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Definition at line 10 of file sitemap_products.php.
$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class) |
Definition at line 25 of file sitemap_products.php.
$productLink = $objectManager->create(\Magento\Catalog\Api\Data\ProductLinkInterface::class) |
Definition at line 49 of file sitemap_products.php.