mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Provide addition tree hints for VirtualPage original page type (AIR-81)
This commit is contained in:
parent
87c318d168
commit
062e3b6a0c
@ -276,6 +276,10 @@ class VirtualPage extends Page {
|
||||
// Update ImageTracking
|
||||
$this->ImageTracking()->setByIdList($this->CopyContentFrom()->ImageTracking()->column('ID'));
|
||||
}
|
||||
|
||||
function CMSTreeClasses($controller) {
|
||||
return parent::CMSTreeClasses($controller) . ' VirtualPage-' . $this->CopyContentFrom()->ClassName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allow attributes on the master page to pass
|
||||
|
Loading…
Reference in New Issue
Block a user