Magento_Backend module
This module contains common infrastructure and assets for other modules to be defined and used in their administration user interface (UI).
This module does not contain anything specific to other modules. Among many things it handles the logic of authenticating and authorizing users.
Installation details
Before disabling or uninstalling this module, note that the following modules depend on this module:
- Magento_Analytics
- Magento_Authorization
- Magento_NewRelicReporting
- Magento_ProductVideo
- Magento_ReleaseNotification
- Magento_Search
- Magento_Security
- Magento_Swatches
- Magento_Ui
- Magento_User
- Magento_Webapi
For information about module installation, see Enable or disable modules.
Structure
Beyond the usual module file structure, this module contains a directory Service/V1.
Service/V1 - contains logic to provide a list of modules installed in the application.
For information about the typical file structure of a module, see Module file structure.
Extensibility
Extension developers can interact with this module. For more information about the extension mechanism, see Plugins.
The dependency injection mechanism enables you to override the functionality of this module.
Events
The module dispatches the following events:
-
adminhtml_block_html_beforeevent in the\Magento\Backend\Block\Template::_toHtml()method. Parameters:blockis the backend block template (this) (\Magento\Backend\Block\Templateclass).
-
adminhtml_store_edit_form_prepare_formevent in the\Magento\Backend\Block\System\Store\Edit\AbstractForm::_prepareForm()method. Parameters:blockis the AbstractForm block (this) (\Magento\Backend\Block\System\Store\Edit\AbstractFormclass).
-
backend_block_widget_grid_prepare_grid_beforeevent in the\Magento\Backend\Block\Widget\Grid::_prepareGrid()method. Parameters:gridis the widget grid block (this) (\Magento\Backend\Block\Widget\Gridclass)collectionis the grid collection (\Magento\Framework\Data\Collectionclass).
-
adminhtml_cache_flush_systemevent in the\Magento\Backend\Console\Command\CacheCleanCommand::performAction()method. -
adminhtml_cache_flush_allevent in the\Magento\Backend\Console\Command\CacheFlushCommand::performAction()method. -
clean_catalog_images_cache_afterevent in the\Magento\Backend\Controller\Adminhtml\Cache\CleanImages::execute()method. -
clean_media_cache_afterevent in the\Magento\Backend\Controller\Adminhtml\Cache\CleanMedia::execute()method. -
clean_static_files_cache_afterevent in the\Magento\Backend\Controller\Adminhtml\Cache\CleanStaticFiles::execute()method. -
adminhtml_cache_flush_allevent in the\Magento\Backend\Controller\Adminhtml\Cache\FlushAll::execute()method. -
adminhtml_cache_flush_systemevent in the\Magento\Backend\Controller\Adminhtml\Cache\FlushSystem::execute()method. -
theme_save_afterevent in the\Magento\Backend\Controller\Adminhtml\System\Design\Save::execute()method. -
backend_auth_user_login_successevent in the\Magento\Backend\Model\Auth::login()method. Parameters:useris the credential storage object (null | \Magento\Backend\Model\Auth\Credential\StorageInterface)
-
backend_auth_user_login_failedevent in the\Magento\Backend\Model\Auth::login()method. Parameters:user_nameis username extracted from the credential storage object (null | \Magento\Backend\Model\Auth\Credential\StorageInterface)exceptionany exception generated (\Magento\Framework\Exception\LocalizedException | \Magento\Framework\Exception\Plugin\AuthenticationException)
For information about events, see Events and observers.
Layouts
This module introduces the following layouts and layout handles in the view/adminhtml/layout directory:
admin_loginadminhtml_auth_loginadminhtml_cache_blockadminhtml_cache_indexadminhtml_dashboard_customersmostadminhtml_dashboard_customersnewestadminhtml_dashboard_indexadminhtml_dashboard_productsviewedadminhtml_deniedadminhtml_norouteadminhtml_system_account_indexadminhtml_system_design_editadminhtml_system_design_gridadminhtml_system_design_grid_blockadminhtml_system_design_indexadminhtml_system_store_deletestoreadminhtml_system_store_editstoreadminhtml_system_store_grid_blockadminhtml_system_store_indexdefaulteditoremptyformkeyoverlay_popuppopup
For more information about layouts, see the Layout documentation.
UI components
You can extend this module using the following configuration files:
view/adminhtml/ui_component/design_config_form.xmlview/adminhtml/ui_component/design_config_listing.xml
For information about UI components, see Overview of UI components.
Additional information
For information about significant changes in patch releases, see Release information.
data-slots=text