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
# app/_graphql/types/Folder.yml | |
# This will be merged with vendor/silverstripe/asset-admin/_graphql/types/Folder.yml | |
Folder: | |
fields: | |
'children(filter: FileFilterInput)': | |
type: '[FileInterface]' | |
plugins: | |
sorter: | |
# If we used the array syntax (e.g. [MyFolderTypeResolver, sortChildren]), |
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
<?php | |
use SilverStripe\View\ArrayData; | |
class Company extends ArrayData | |
{ | |
public function __construct($id=0, $data=[]) | |
{ | |
if (empty($data)) { |
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
Go look under papa's chair. |
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
# app/_graphql/models/company.yml | |
SilverStripe\FrameworkTest\Model\Company: | |
fields: '*' | |
operations: | |
'*': true |
OlderNewer