Skip to main content
The extended view will inherit the attributes of the base or template view. Additional attributes can be added to the extended view, scoping them only to the extended view. If attributes included in the extended view are also defined in the base view, the values in the extended view will override the values in the base view.

Syntax

extends: [ <view_name> ]

Properties

extends
array
The name of the view to extend.

Examples

base_view
description: This is a base view
In this example, we’re extending base_view to create a new view, extended_view:
extended_view
extends: [ base_view ]
description: This is an extended view from the base view
The description for extended_view will be This is an extended view from the base view instead of base_view’s This is a base view.