API Documentation
DruxtBlocksRegionMixin
blocks
DruxtBlocksRegionMixin
Provides props and computed values for use with a DruxtBlockRegion Wrapper component.
Kind: global mixin
Example
<template>
<DruxtDebug :json="blocks" />
</template>
<script>
import { DruxtBlocksRegionMixin } from 'druxt-blocks'
export default {
mixins: [DruxtBlocksRegionMixin]
}
</script>
.props
Kind: static property of DruxtBlocksRegionMixin
Array.<objects>
.blocks : The Block JSON:API resources.
Kind: static property of props
Required:
string
.langcode : The JSON:API resource language code.
Kind: static property of props
string
.name : The Block regions machine name.
Kind: static property of props
Default: "content"
string
.theme : A Drupal theme machine name.
Kind: static property of props
Required: