Overriding or Extending Functionalities
Directory Structure
1. The module config app/code/My/Nosto/etc/module.xml
app/code/My/Nosto/etc/module.xml<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Module/etc/module.xsd">
<module name="My_Nosto" setup_version="1.0.0" />
</config>2. The module registration app/code/My/Nosto/registration.php
app/code/My/Nosto/registration.php<?php
use Magento\Framework\Component\ComponentRegistrar;
ComponentRegistrar::register(
ComponentRegistrar::MODULE,
'My_Nosto',
__DIR__
);3. The composer app/code/My/Nosto/composer.json
app/code/My/Nosto/composer.jsonEnabling the plugin
Disabling the plugin
Verifying
Using the module in production environment
Last updated