Skip to content

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

Public Methods

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

getOwner()

Returns the owner element, if the element has one.

View source

Returns

craft\base\ElementInterface, null

Throws