silverstripe-cms/code/Forms/SiteTreeURLSegmentField_Readonly.php
2017-01-31 13:59:35 +13:00

17 lines
303 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;
}
}