Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-sitemap
Model
Source
Product
Image
IncludeImage.php
Go to the documentation of this file.
1
<?php
11
namespace
Magento\Sitemap\Model\Source\Product\Image
;
12
17
class
IncludeImage
implements
\Magento\Framework\Option\ArrayInterface
18
{
22
const
INCLUDE_NONE
=
'none'
;
23
24
const
INCLUDE_BASE
=
'base'
;
25
26
const
INCLUDE_ALL
=
'all'
;
27
35
public
function
toOptionArray
()
36
{
37
return
[
38
self::INCLUDE_NONE =>
__
(
'None'
),
39
self::INCLUDE_BASE =>
__
(
'Base Only'
),
40
self::INCLUDE_ALL =>
__
(
'All'
)
41
];
42
}
43
}
Magento\Sitemap\Model\Source\Product\Image\IncludeImage
Definition:
IncludeImage.php:17
Magento\Sitemap\Model\Source\Product\Image
Definition:
IncludeImage.php:11
__
__()
Definition:
__.php:13
Magento\Sitemap\Model\Source\Product\Image\IncludeImage\INCLUDE_BASE
const INCLUDE_BASE
Definition:
IncludeImage.php:24
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Sitemap\Model\Source\Product\Image\IncludeImage\INCLUDE_ALL
const INCLUDE_ALL
Definition:
IncludeImage.php:26
Magento\Sitemap\Model\Source\Product\Image\IncludeImage\toOptionArray
toOptionArray()
Definition:
IncludeImage.php:35
Magento\Sitemap\Model\Source\Product\Image\IncludeImage\INCLUDE_NONE
const INCLUDE_NONE
Definition:
IncludeImage.php:22