Skip to content

Instantly share code, notes, and snippets.

@nmsdvid
Created January 2, 2019 21:48
Show Gist options
  • Save nmsdvid/a7a8fc1cead1c91fd3ebde936453ceeb to your computer and use it in GitHub Desktop.
Save nmsdvid/a7a8fc1cead1c91fd3ebde936453ceeb to your computer and use it in GitHub Desktop.

Revisions

  1. nmsdvid created this gist Jan 2, 2019.
    53 changes: 53 additions & 0 deletions project.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,53 @@
    fieldGroups:
    ceed216a-8389-4633-a3c9-870fb53ec7e8:
    name: Common
    fields:
    7dcf0449-051c-48a8-b5b6-f10cca836390:
    contentColumnType: string
    fieldGroup: ceed216a-8389-4633-a3c9-870fb53ec7e8
    handle: bgImage
    instructions: ''
    name: Image
    searchable: true
    settings:
    allowedKinds: null
    defaultUploadLocationSource: 'folder:b4d5f503-3ee1-4442-b947-9fd954d37cb2'
    defaultUploadLocationSubpath: ''
    limit: '1'
    localizeRelations: false
    restrictFiles: ''
    selectionLabel: ''
    singleUploadLocationSource: 'folder:b4d5f503-3ee1-4442-b947-9fd954d37cb2'
    singleUploadLocationSubpath: ''
    source: null
    sources: '*'
    targetSiteId: null
    useSingleFolder: ''
    viewMode: list
    translationKeyFormat: null
    translationMethod: site
    type: craft\fields\Assets
    globalSets:
    4973dc48-0667-4d47-a39c-95dd8d9a9d57:
    fieldLayouts:
    05383955-6fe5-4434-8c78-63096481e9d8:
    tabs:
    -
    fields:
    7dcf0449-051c-48a8-b5b6-f10cca836390:
    required: false
    sortOrder: 1
    name: Common
    sortOrder: 1
    handle: test
    name: Test
    volumes:
    11f90bd1-6444-487e-a573-9d46ac326e45:
    handle: uploads
    hasUrls: true
    name: Uploads
    settings:
    path: '@webroot/uploads'
    sortOrder: 1
    type: craft\volumes\Local
    url: '@web/uploads'