-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from dmitrijs-voronovs/cms-page-width
CmsPage page_width: added custom PageInterface
- Loading branch information
Showing
4 changed files
with
30 additions
and
7 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* ScandiPWA_CmsGraphQl | ||
* | ||
* @category Scandiweb | ||
* @package ScandiPWA_CmsGraphQl | ||
* @copyright Copyright (c) 2018 Scandiweb, Ltd (https://scandiweb.com) | ||
*/ | ||
|
||
namespace ScandiPWA\CmsGraphQl\Api\Data; | ||
|
||
/** | ||
* CMS page interface. | ||
* @api | ||
* @since 100.0.2 | ||
*/ | ||
interface PageInterface extends \Magento\Cms\Api\Data\PageInterface | ||
{ | ||
/**#@+ | ||
* Constants for keys of data array. Identical to the name of the getter in snake case | ||
*/ | ||
const URL_KEY = 'url_key'; | ||
const PAGE_WIDTH = 'page_width'; | ||
/**#@-*/ | ||
} |
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