Skip to content

CpEditable

Type
Interface
Namespace
craft\base
Implemented by
craft\base\ElementInterface, craft\models\CategoryGroup, craft\models\EntryType, craft\models\Section, craft\models\Volume
Since
5.0.0

CpEditable defines the common interface to be implemented by components that have a dedicated edit page in the control panel.

View source

Public Methods

MethodDescription
getCpEditUrl()Returns the URL to the component’s edit page in the control panel.

getCpEditUrl()

Returns the URL to the component’s edit page in the control panel.

View source

Returns

string, null