This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All action links for this module | |
manage_inventory.inventory_add: | |
# Which route will be called by the link | |
route_name: entity.manage_inventory.add_form | |
title: 'Add Inventory' | |
# Where will the link appear, defined by route name. | |
appears_on: | |
- entity.content_entity_manage_inventory.collection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manage Inventory | |
type: module | |
description: 'Provides Inventory entity.' | |
package: Custom | |
core: 8.x | |
package: Custom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Route name can be used in several place (links, redirects, local actions etc.) | |
entity.content_entity_manage_inventory.canonical: | |
path: '/content_entity_manage_inventory/{content_entity_manage_inventory}' | |
defaults: | |
# Calls the view controller, defined in the annotation of the contact entity | |
_entity_view: 'content_entity_manage_inventory' | |
_title: 'Inventory Content' | |
requirements: | |
# Calls the access controller of the entity, $operation 'view' | |
_entity_access: 'content_entity_manage_inventory.view' |
NewerOlder