diff --git a/src/system/Papaya/Plugin/Editor.php b/src/system/Papaya/Plugin/Editor.php index 1a392a56c..6bfb2dd7b 100644 --- a/src/system/Papaya/Plugin/Editor.php +++ b/src/system/Papaya/Plugin/Editor.php @@ -42,7 +42,7 @@ public function __construct(PapayaPluginEditableData $data) { } /** - * Return the stored content object. + * Return the stored data object. * * @return PapayaPluginEditableData */ @@ -50,6 +50,16 @@ public function getData() { return $this->_data; } + /** + * Return the stored data object - bc for old API + * + * @deprecated + * @return PapayaPluginEditableData + */ + public function getContent() { + return $this->getData(); + } + /** * The context specifies a parameter status needed to reach the editor/dialog. These * parameters need to be added to links and dialogs