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
framework
Backup
Nomedia.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Backup
;
7
13
class
Nomedia
extends
\Magento\Framework\Backup\Media
14
{
21
public
function
getType
()
22
{
23
return
'nomedia'
;
24
}
25
31
protected
function
_prepareIgnoreList
()
32
{
33
$rootDir
= $this->
getRootDir
();
34
$this->
addIgnorePaths
([
$rootDir
.
'/media'
,
$rootDir
.
'/pub/media'
]);
35
return
$this;
36
}
37
}
Magento\Framework\Backup\Nomedia
Definition:
Nomedia.php:13
Magento\Framework\Backup
Definition:
AbstractBackup.php:6
Magento\Framework\Backup\AbstractBackup\getRootDir
getRootDir()
Definition:
AbstractBackup.php:171
Magento\Framework\Backup\Nomedia\_prepareIgnoreList
_prepareIgnoreList()
Definition:
Nomedia.php:31
Magento\Framework\Backup\Filesystem\addIgnorePaths
addIgnorePaths($paths)
Definition:
Filesystem.php:217
$rootDir
$rootDir
Definition:
website.php:12
Magento\Framework\Backup\Media
Definition:
Media.php:13
Magento\Framework\Backup\Nomedia\getType
getType()
Definition:
Nomedia.php:21