Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 5135ea0d authored by Nicolas's avatar Nicolas
Browse files

Correction de quelques erreurs

parent a89f00cf
No related branches found
No related tags found
No related merge requests found
Pipeline #516 failed
...@@ -145,7 +145,7 @@ class Chooser extends Extended ...@@ -145,7 +145,7 @@ class Chooser extends Extended
} }
/** /**
* Prepare columns for image grid * Prepare columns for grid
* *
* @return Extended * @return Extended
* @throws Exception * @throws Exception
......
# Changelog # Changelog
## [1.0.3] - 2020-06-02
### Changed
- Correction de quelques erreurs
## [1.0.2] - 2020-05-30 ## [1.0.2] - 2020-05-30
### Changed ### Changed
- Correction de l'affichage du nom du content manager dans la page edit - Correction de l'affichage du nom du content manager dans la page edit
......
...@@ -62,7 +62,7 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I ...@@ -62,7 +62,7 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I
return parent::beforeSave(); return parent::beforeSave();
} }
throw new LocalizedException( throw new LocalizedException(
__('Make sure that content manager path does not reference the content manager itself.') __('Make sure that content manager identifier does not reference the content manager itself.')
); );
} }
...@@ -77,7 +77,7 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I ...@@ -77,7 +77,7 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I
} }
/** /**
* Retrieve content managerid * Retrieve content manager id
* *
* @return int * @return int
*/ */
...@@ -169,7 +169,7 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I ...@@ -169,7 +169,7 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I
} }
/** /**
* Set path * Set identifier
* *
* @param string $identifier * @param string $identifier
* @return ContentManagerInterface * @return ContentManagerInterface
......
...@@ -180,7 +180,7 @@ class ContentManager extends AbstractDb ...@@ -180,7 +180,7 @@ class ContentManager extends AbstractDb
} }
/** /**
* Check for unique of path of content managerto selected store(s). * Check for unique of identifier of content manager to selected store(s).
* *
* @param AbstractModel $object * @param AbstractModel $object
* @return bool * @return bool
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "nicolasbejean/contentmanager", "name": "nicolasbejean/contentmanager",
"description": "Créer des contenus", "description": "Créer des contenus",
"type": "magento2-module", "type": "magento2-module",
"version": "1.0.2", "version": "1.0.3",
"require": { "require": {
"php": "~7.1.3||~7.2.0||~7.3.0", "php": "~7.1.3||~7.2.0||~7.3.0",
"magento/framework": "102.0.*", "magento/framework": "102.0.*",
......
<?xml version="1.0"?> <?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="NicolasBejean_ContentManager" setup_version="1.0.2"> <module name="NicolasBejean_ContentManager" setup_version="1.0.3">
<sequence> <sequence>
<module name="Magento_Backend"/> <module name="Magento_Backend"/>
<module name="Magento_Catalog"/> <module name="Magento_Catalog"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment