Skip to content

Commit f399b27

Browse files
ENGCOM-9229: [ReadMe] updated readMe file for MediaGallery-MediaStorage modules #31894
- Merge Pull Request #31894 from vlmed/magento2:update_readme_nedia-gallery_media-storage - Merged commits: 1. a1f384c
2 parents c75fd89 + a1f384c commit f399b27

File tree

17 files changed

+266
-34
lines changed

17 files changed

+266
-34
lines changed

app/code/Magento/MediaGallery/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ Extension developers can interact with the Magento_MediaGallery module. For more
2020

2121
## Additional information
2222

23-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
23+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
24+
25+
[Learn more about New Media Gallery](https://docs.magento.com/user-guide/cms/media-gallery.html).

app/code/Magento/MediaGalleryApi/README.md

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,59 @@
22

33
The Magento_MediaGalleryApi module serves as application program interface (API) responsible for storing and managing media gallery asset attributes.
44

5+
## Installation details
6+
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
8+
59
## Extensibility
610

7-
Extension developers can interact with the Magento_MediaGallery module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
11+
Extension developers can interact with the Magento_MediaGalleryApi module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
812

913
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryApi module.
1014

15+
### Public APIs
16+
17+
- `\Magento\MediaGalleryApi\Api\Data\AssetInterface`
18+
- media asset entity data
19+
20+
- `\Magento\MediaGalleryApi\Api\Data\AssetKeywordsInterface`
21+
- assets keywords aggregation
22+
23+
- `\Magento\MediaGalleryApi\Api\Data\AssetKeywordsInterface`
24+
- media asset keyword entity data
25+
26+
- `\Magento\MediaGalleryApi\Api\CreateDirectoriesByPathsInterface`:
27+
- create new directories by provided paths
28+
29+
- `\Magento\MediaGalleryApi\Api\DeleteAssetsByPathsInterface`:
30+
- delete media assets by paths. Removes all the assets which paths start with provided paths
31+
32+
- `\Magento\MediaGalleryApi\Api\DeleteDirectoriesByPathsInterface`:
33+
- delete folders by provided paths
34+
35+
- `\Magento\MediaGalleryApi\Api\GetAssetsByIdsInterface`:
36+
- get media gallery assets by id attribute
37+
38+
- `\Magento\MediaGalleryApi\Api\GetAssetsByPathsInterface`:
39+
- get media gallery assets by paths in media storage
40+
41+
- `\Magento\MediaGalleryApi\Api\GetAssetsKeywordsInterface`:
42+
- get a media gallery asset keywords related to media gallery asset ids provided
43+
44+
- `\Magento\MediaGalleryApi\Api\IsPathExcludedInterface`:
45+
- check if the path is excluded from displaying and processing in the media gallery
46+
47+
- `\Magento\MediaGalleryApi\Api\SaveAssetsInterface`:
48+
- save media gallery assets to the database
49+
50+
- `\Magento\MediaGalleryApi\Api\SaveAssetsKeywordsInterface`:
51+
- save keywords related to assets to the database
52+
53+
- `\Magento\MediaGalleryApi\Api\SearchAssetsInterface`:
54+
- search media gallery assets
55+
56+
For information about a public API in Magento 2, see [Public interfaces & APIs](http://devdocs.magento.com/guides/v2./extension-dev-guide/api-concepts.html).
57+
1158
## Additional information
1259

13-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
60+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).

app/code/Magento/MediaGalleryCatalog/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ For information about module installation in Magento 2, see [Enable or disable m
88

99
## Extensibility
1010

11-
Extension developers can interact with the Magento_MediaGallery module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
11+
Extension developers can interact with the Magento_MediaGalleryCatalog module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
1212

13-
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGallery module.
13+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryCatalog module.
1414

1515
## Additional information
1616

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
# Magento_MediaGalleryCatalogIntegration
1+
# Magento_MediaGalleryCatalogIntegration module
22

3-
The purpose of this module is for extending catalog image uploader functionality.
3+
This module extends catalog image uploader functionality.
4+
5+
## Installation
6+
7+
For information about a module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
8+
9+
## Extensibility
10+
11+
[The Magento dependency injection mechanism](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryCatalogIntegration module.

app/code/Magento/MediaGalleryCatalogUi/README.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,36 @@
22

33
The Magento_MediaGalleryCatalogUi module that implement category grid for media gallery.
44

5+
## Installation details
6+
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
8+
59
## Extensibility
610

7-
Extension developers can interact with the Magento_MediaGalleryRenditions module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
11+
Extension developers can interact with the Magento_MediaGalleryCatalogUi module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
12+
13+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryCatalogUi module.
14+
15+
### Layouts
16+
17+
This module introduces the following layouts in the `view/adminhtml/layout` directory:
18+
- `media_gallery_catalog_category_index`
19+
20+
For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).
21+
22+
### UI components
23+
24+
The configuration files located in the directory `view/adminhtml/ui_component`.
25+
26+
You can extend media gallery listing updates using the following configuration files:
27+
- `media_gallery_category_listing`
28+
29+
This module extends ui components:
30+
- `media_gallery_listing`
31+
- `standalone_media_gallery_listing`
832

9-
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryRenditions module.
33+
For information about a UI component in Magento 2, see [Overview of UI components](http://devdocs.magento.com/guides/v2.4/ui_comp_guide/bk-ui_comps.html).
1034

1135
## Additional information
1236

13-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
37+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).

app/code/Magento/MediaGalleryCmsUi/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,26 @@
22

33
The Magento_MediaGalleryCmsUi module provides Magento_Cms related UI elements to the media gallery user interface
44

5+
## Installation details
6+
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
8+
59
## Extensibility
610

7-
Extension developers can interact with the Magento_MediaGalleryRenditions module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
11+
Extension developers can interact with the Magento_MediaGalleryCmsUi module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
12+
13+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryCmsUi module.
14+
15+
### UI components
16+
17+
The configuration files located in the directory `view/adminhtml/ui_component`.
18+
19+
This module extends ui components:
20+
- `media_gallery_listing`
21+
- `standalone_media_gallery_listing`
822

9-
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryRenditions module.
23+
For information about a UI component in Magento 2, see [Overview of UI components](http://devdocs.magento.com/guides/v2.4/ui_comp_guide/bk-ui_comps.html).
1024

1125
## Additional information
1226

13-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
27+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
# Magento_MediaGalleryIntegration
1+
# Magento_MediaGalleryIntegration module
22

33
The purpose of this module is to keep the integration of enhanced media gallery to Magento separated from implementation.
4+
5+
## Installation details
6+
7+
Before installing this module, note that the Magento_MediaGalleryIntegration is dependent on the Magento_Ui module.
8+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
9+
10+
## Extensibility
11+
12+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryIntegration module.
13+
14+
## Additional information
15+
16+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
# Magento_MediaGalleryMetadata
1+
# Magento_MediaGalleryMetadata module
22

33
The purpose of this module is to provide an ability to extract the metadata from file and populating Media Asset entity fields when an image is uploaded to Magento and also provide an ability to update the metadata stored in an image file.
4+
5+
## Installation details
6+
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
8+
9+
## Extensibility
10+
11+
Extension developers can interact with the Magento_MediaGalleryMetadata module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
12+
13+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryMetadata module.
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
# Magento_MediaGalleryMetadataApi
1+
# Magento_MediaGalleryMetadataApi module
22

33
The Magento_MediaGalleryMetadataApi module is responsible for the media gallery metadata implementation API.
4+
5+
## Installation details
6+
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
8+
9+
## Extensibility
10+
11+
Extension developers can interact with the Magento_MediaGalleryMetadataApi module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
12+
13+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryMetadataApi module.
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Magento_MediaGalleryRenditions module
22

3-
The Magento_MediaGalleryRenditions module implements height and width fields for for media gallery items.
3+
The Magento_MediaGalleryRenditions module implements height and width fields for media gallery items.
4+
5+
## Installation details
6+
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
48

59
## Extensibility
610

@@ -10,4 +14,10 @@ Extension developers can interact with the Magento_MediaGalleryRenditions module
1014

1115
## Additional information
1216

13-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
17+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
18+
19+
#### Message Queue Consumer
20+
21+
- `media.gallery.renditions.update` - update renditions for given paths, if empty array is provided - all renditions are updated
22+
23+
[Learn how to manage Message Queues](https://devdocs.magento.com/guides/v2.4/config-guide/mq/manage-message-queues.html).

app/code/Magento/MediaGalleryRenditionsApi/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
The Magento_MediaGalleryRenditionsApi module is responsible for the API implementation of Media Gallery Renditions.
44

5-
## Extensibility
5+
## Installation details
66

7-
Extension developers can interact with the Magento_MediaGalleryRenditions module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
8-
9-
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGalleryRenditionsApi module.
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
108

119
## Additional information
1210

13-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
11+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).

app/code/Magento/MediaGallerySynchronization/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
The Magento_MediaGallerySynchronization module represents implementation of synchronization between data and objects contains
44
media asset information.
55

6+
## Installation details
7+
8+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
9+
610
## Extensibility
711

812
Extension developers can interact with the Magento_MediaGallerySynchronization module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
@@ -11,4 +15,14 @@ Extension developers can interact with the Magento_MediaGallerySynchronization m
1115

1216
## Additional information
1317

14-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
18+
### Console commands
19+
20+
- `bin/magento media-gallery:sync` - synchronize media storage and media assets in the database
21+
22+
#### Message Queue Consumer
23+
24+
- `media.gallery.synchronization` - run media files synchronization
25+
26+
[Learn how to manage Message Queues](https://devdocs.magento.com/guides/v2.4/config-guide/mq/manage-message-queues.html).
27+
28+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).

app/code/Magento/MediaGallerySynchronizationApi/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Extension developers can interact with the Magento_MediaGallerySynchronizationAp
1010

1111
## Additional information
1212

13-
For information about significant changes in patch releases, see [Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
13+
For information about significant changes in patch releases, see [2.4.x Release information](https://devdocs.magento.com/guides/v2.4/release-notes/bk-release-notes.html).
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
# Magento_MediaGallerySynchronizationMetadata
1+
# Magento_MediaGallerySynchronizationMetadata module
22

3-
The purpose of this module is to include assets metadata to media gallery synchronization process
3+
The purpose of this module is to include assets metadata to media gallery synchronization process.
4+
5+
## Installation details
6+
7+
For information about module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
8+
9+
## Extensibility
10+
11+
Extension developers can interact with the Magento_MediaGallerySynchronizationMetadata module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
12+
13+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_MediaGallerySynchronizationMetadata module.

0 commit comments

Comments
 (0)