Skip to content

Commit 82f29ce

Browse files
committed
Initial commit
0 parents  commit 82f29ce

File tree

7 files changed

+91
-0
lines changed

7 files changed

+91
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Oleksandr
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# MageCondition_Core
2+
3+
![Magento 2](https://img.shields.io/badge/Magento-2-brightgreen.svg)
4+
![License](https://img.shields.io/badge/license-MIT-blue.svg)
5+
6+
## Overview
7+
8+
**MageCondition_Core** provides essential functionality for the MageCondition vendor modules
9+
10+
Do not delete or disable this module if plan to receive updates
11+
12+
## License
13+
14+
This module is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

composer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "mage-condition/core",
3+
"description": "Core module for MageCondition vendor",
4+
"minimum-stability": "stable",
5+
"require": {
6+
"php": "^8.0"
7+
},
8+
"type": "magento2-module",
9+
"version": "1.0.0",
10+
"authors": [
11+
{
12+
"name": "Oleksandr",
13+
"email": "wincondition2911@gmail.com"
14+
}
15+
],
16+
"license": "MIT",
17+
"autoload": {
18+
"files": [
19+
"registration.php"
20+
],
21+
"psr-4": {
22+
"MageCondition\\Core\\": ""
23+
}
24+
}
25+
}

etc/acl.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
3+
<acl>
4+
<resources>
5+
<resource id="Magento_Backend::admin">
6+
<resource id="MageCondition_Core::magecondition" title="MageCondition" translate="title" sortOrder="5" />
7+
</resource>
8+
</resources>
9+
</acl>
10+
</config>

etc/adminhtml/system.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0"?>
2+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
3+
<system>
4+
<tab id="magecondition" translate="label" sortOrder="5">
5+
<label>MageCondition</label>
6+
</tab>
7+
</system>
8+
</config>

etc/module.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0"?>
2+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3+
<module name="MageCondition_Core" />
4+
</config>

registration.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
use Magento\Framework\Component\ComponentRegistrar;
4+
5+
ComponentRegistrar::register(
6+
ComponentRegistrar::MODULE,
7+
'MageCondition_Core',
8+
__DIR__
9+
);

0 commit comments

Comments
 (0)