How is Magento\Customer\Block\Account\SortLinkInterface declared, implemented, and used?

customer-account
customer-account-navigation
magento22
customer-account-stored-payment-methods
(Dmitry Fedyuk) #1

Declaration

Presense

The Magento\Customer\Block\Account\SortLinkInterface has been added on 2016-10-17 to Magento 2.2, it is absent in Magento 2.0 and 2.1.

Implementations

1. Magento\Customer\Block\Account\SortLink (the default implementation)

This implementation is default:

2. Magento\Customer\Block\Account\AuthorizationLink

3. Magento\Customer\Block\Account\Delimiter

4. Magento\Customer\Block\Account\Link

5. Magento\Wishlist\Block\Link

The primary usage: Magento\Customer\Block\Account\Navigation

The usages in layouts (the customer account tabs)

1. «Account Dashboard» (customer-account-navigation-account-link)

The Luma case

2. «My Orders» (customer-account-navigation-orders-link)

3. «My Downloadable Products» (customer-account-navigation-downloadable-products-link)

4. «My Wish List» (customer-account-navigation-wish-list-link)

5. «Address Book» (customer-account-navigation-address-link)

The Luma case

6. «Account Information» (customer-account-navigation-account-edit-link)

The Luma case

7. «Stored Payment Methods» (customer-account-navigation-my-credit-cards-link)

8. «Billing Agreements» (customer-account-navigation-billing-agreements-link)

9. «My Product Reviews» (customer-account-navigation-product-reviews-link)

10. «Newsletter Subscriptions» (customer-account-navigation-newsletter-subscriptions-link)

0 Likes

How is the «Stored Payment Methods» customer account section implemented?
(Dmitry Fedyuk) #2

See also:

0 Likes