commerce_wishlist.routing.yml in Commerce Wishlist 8.3
3 string references to YAML keys in commerce_wishlist.routing.yml
- WishlistBlock::build in src/
Plugin/ Block/ WishlistBlock.php - Builds the wishlist block.
- WishlistUserTest::testEmptyPage in tests/
src/ FunctionalJavascript/ WishlistUserTest.php - Tests the behavior of wishlist pages when the wishlist is empty.
- WishlistUserTest::testRedirects in tests/
src/ FunctionalJavascript/ WishlistUserTest.php - Tests the redirection to canonical/user_form pages.
File
commerce_wishlist.routing.ymlView source
- commerce_wishlist.page:
- path: '/wishlist'
- defaults:
- _controller: '\Drupal\commerce_wishlist\Controller\WishlistController::wishlistPage'
- _title: 'Wishlist'
- requirements:
- _permission: 'access wishlist'
-
- commerce_wishlist.user_page:
- path: '/user/{user}/wishlist'
- defaults:
- _controller: '\Drupal\commerce_wishlist\Controller\WishlistController::userPage'
- _title: 'Wishlist'
- requirements:
- _permission: 'access wishlist'
-
- commerce_wishlist.admin_settings:
- path: '/admin/commerce/config/wishlist-settings'
- defaults:
- _form: '\Drupal\commerce_wishlist\Form\SettingsForm'
- _title: 'Wishlist settings'
- requirements:
- _permission: 'administer commerce_wishlist'
-
- commerce_wishlist.configuration:
- path: '/admin/commerce/config/wishlists'
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: 'Wishlists'
- requirements:
- _permission: 'administer commerce_wishlist'