NSWDPC\Elemental\Extensions\ModelAdmin\ElementalAreaOwnerExtension
This extension is applied to {@link DNADesign\Elemental\Models\ElementalArea} It provides a method to retrive the area's owner title and a short description This is used by {@link NSWDPC\Elemental\Extensions\ModelAdmin\MoveElementExtension} to provide some context for an editor selecting the target elemental area
- Author: James
Synopsis
class ElementalAreaOwnerExtension
extends Extension
{
- // methods
- public string OwnerTitleAndDescription()
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
public
- OwnerTitleAndDescription() — If the owner 'page' exists, provide a short title with context