This repository has been archived by the owner on Feb 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'nonsplit/master'
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Spryker Demoshop. | ||
* For full license information, please view the LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Pyz\Zed\Customer; | ||
|
||
use Spryker\Zed\Customer\CustomerConfig as SprykerCustomerConfig; | ||
|
||
class CustomerConfig extends SprykerCustomerConfig | ||
{ | ||
/** | ||
* This method provides list of urls to render blocks inside customer detail page. | ||
* URL defines path to external bundle controller. For example: /sales/customer/customer-orders would call sales bundle, customer controller, customerOrders action. | ||
* Action should return return array or redirect response. | ||
* | ||
* example: | ||
* [ | ||
* 'sales' => '/sales/customer/customer-orders', | ||
* ] | ||
* | ||
* @return array | ||
*/ | ||
public function getCustomerDetailExternalBlocksUrls() | ||
{ | ||
return [ | ||
'sales' => '/sales/customer/customer-orders', | ||
]; | ||
} | ||
} |