BlockElementInterface
- Type
- Interface
- Namespace
- craft\base
- Implemented by
- 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.
Public Methods
Method | Description |
---|---|
getOwner() | Returns the owner element. |
getOwner()
Returns the owner element.
Returns
Throws
- yii\base\InvalidConfigException
if the element is unable to determine its owner