1
0
mirror of https://github.com/silverstripe/silverstripe-cms synced 2024-10-22 06:05:56 +00:00
silverstripe-cms/code/Forms/SiteTreeURLSegmentField_Readonly.php

17 lines
303 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\CMS\Forms;
/**
* Readonly version of a site tree URL segment field
*/
class SiteTreeURLSegmentField_Readonly extends SiteTreeURLSegmentField
{
2017-01-26 09:59:25 +13:00
protected $readonly = true;
2017-01-26 09:59:25 +13:00
public function performReadonlyTransformation()
{
return clone $this;
}
}