yireo-training / magento2-example-loki-admin-cms-page
N/A
Package info
github.com/yireo-training/YireoTraining_ExampleLokiAdminCmsPage
Type:magento2-module
pkg:composer/yireo-training/magento2-example-loki-admin-cms-page
Requires
- php: >=8.2 <8.6
- loki/magento2-admin-components: >=0.9.1 <1.0
- magento/framework: ^103.0
- magento/module-backend: ^102.0
- magento/module-cms: ^104.0
Requires (Dev)
- phpunit/phpunit: ^10.5
- yireo/magento2-integration-test-helper: ~0.0.23
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-28 17:12:15 UTC
README
This Magento 2 module demos the usage of Loki_AdminComponents to code a grid with ease.
Installation
composer require yireo-training/magento2-example-loki-admin-cms-page@dev bin/magento module:enable YireoTraining_ExampleLokiAdminCmsPage
Usage
Navigate via the menu Content > Pages (Loki).
Note that this example module is not about the usage, it is about the code. See how little code was involved to create this grid.
Permissions
Next to the ACL resources of this module (Content > Elements > Pages > Pages (Loki)), saving requires Magento_Cms::save, deleting requires Magento_Cms::page_delete and changing design settings requires Magento_Cms::save_design. Only the content and SEO fields of a page can be edited; layout updates and design settings are kept as they are.
Adobe Commerce admin role scopes (website or store restrictions of AdminGws) are not supported by this example module: an admin user with access to this page can edit pages of every store view.
