mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
MINOR Remove AbsoluteURL column from DependentPage (#2290)
This commit is contained in:
parent
7f0d4c8634
commit
974ea3b29d
@ -1883,7 +1883,6 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
||||
if ($dependentPagesCount) {
|
||||
$dependentColumns = array(
|
||||
'Title' => $this->fieldLabel('Title'),
|
||||
'AbsoluteLink' => _t(__CLASS__.'.DependtPageColumnURL', 'URL'),
|
||||
'DependentLinkType' => _t(__CLASS__.'.DependtPageColumnLinkType', 'Link type'),
|
||||
);
|
||||
if (class_exists('Subsite')) {
|
||||
@ -1907,13 +1906,6 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
||||
(int)$item->ID,
|
||||
Convert::raw2xml($item->Title)
|
||||
);
|
||||
},
|
||||
'AbsoluteLink' => function ($value, &$item) {
|
||||
return sprintf(
|
||||
'<a href="%s" target="_blank">%s</a>',
|
||||
Convert::raw2xml($value),
|
||||
Convert::raw2xml($value)
|
||||
);
|
||||
}
|
||||
));
|
||||
$dependentTable->getConfig()->addComponent(new GridFieldLazyLoader());
|
||||
|
Loading…
x
Reference in New Issue
Block a user