File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ declare (strict_types=1 );
7
+
8
+ namespace Magento \MediaGallery \Model \Directory ;
9
+
10
+ /**
11
+ * Media gallery directory config
12
+ */
13
+ interface ConfigInterface
14
+ {
15
+ /**
16
+ * Returns list of blacklist RegEx patterns
17
+ *
18
+ * @return array
19
+ */
20
+ public function getBlacklistPatterns (): array ;
21
+ }
Original file line number Diff line number Diff line change 10
10
<preference for =" Magento\MediaGalleryApi\Api\Data\AssetInterface" type =" Magento\MediaGallery\Model\Asset" />
11
11
<preference for =" Magento\MediaGalleryApi\Api\Data\AssetKeywordsInterface" type =" Magento\MediaGallery\Model\AssetKeywords" />
12
12
13
+ <preference for =" Magento\MediaGallery\Model\Directory\ConfigInterface" type =" Magento\MediaGallery\Model\Directory\Config" />
14
+
13
15
<preference for =" Magento\MediaGalleryApi\Model\Asset\Command\GetByIdInterface" type =" Magento\MediaGallery\Model\Asset\Command\GetById" />
14
16
<preference for =" Magento\MediaGalleryApi\Model\Asset\Command\SaveInterface" type =" Magento\MediaGallery\Model\Asset\Command\Save" />
15
17
<preference for =" Magento\MediaGalleryApi\Model\Asset\Command\GetByPathInterface" type =" Magento\MediaGallery\Model\Asset\Command\GetByPath" />
Original file line number Diff line number Diff line change 29
29
<xs : complexType name =" patternsType" >
30
30
<xs : annotation >
31
31
<xs : documentation >
32
- List of directory paths regexp patterns
32
+ List of directory paths RegExp patterns
33
33
</xs : documentation >
34
34
</xs : annotation >
35
35
<xs : sequence >
You can’t perform that action at this time.
0 commit comments