BlockElementInterface

Type
Interface
Namespace
craft\base
Implemented by
craft\elements\Address, craft\elements\MatrixBlock
Since
3.2.0

BlockElementInterface defines the common interface to be implemented by “block element” classes.

Block elements are elements that are owned by a parent element.

View source (opens new window)

# Public Methods

Method Description
getOwner() Returns the owner element, if the element has one.

# getOwner()

Returns the owner element, if the element has one.

View source (opens new window)

Returns

craft\base\ElementInterface, null (opens new window)

Throws