Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
docs: added comments to help at registrating blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sebas5384 committed Sep 5, 2019
1 parent 04719ee commit 52d659c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/modules/drupal/modules/layout/lib/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const blocks = [
BlockSiteBranding,
BlockContentBasic,
BlockNotFound
// ADD YOUR BLOCK HERE
]

export default blocks
2 changes: 2 additions & 0 deletions src/client/modules/drupal/modules/layout/lib/fragments.gql
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ fragment BlockContentFragment on BlockContent {
fragment BlockFragment on Entity {
...BlockBaseFragment
...BlockContentFragment

# ADD YOUR BLOCK FRAGMENT HERE
}

0 comments on commit 52d659c

Please sign in to comment.