silverstripe-cms/code/Forms/SiteTreeURLSegmentField_Readonly.php
Damian Mooyman a87a857a6e
Upgrade code for framework namespaces
Remove @package / @subpackage
Fix inifinite loop in VirtualPage_Controller
2016-09-07 16:29:26 +12:00

17 lines
285 B
PHP

<?php
namespace SilverStripe\CMS\Forms;
/**
* Readonly version of a site tree URL segment field
*/
class SiteTreeURLSegmentField_Readonly extends SiteTreeURLSegmentField
{
protected $readonly = true;
public function performReadonlyTransformation()
{
return clone $this;
}
}