SilverStripe\RedirectedURLs\Admin\RedirectedURLAdmin
Provides CMS Administration of {@link: RedirectedURL} objects
- Author: sam@silverstripe.com
Synopsis
class RedirectedURLAdmin
extends ModelAdmin
{
- // members
- private static string $url_segment = 'redirects';
- private static string $menu_title = 'Redirects';
- private static string $menu_icon = 'silverstripe/redirectedurls:images/redirect.svg';
- private static array $managed_models = ;
- // methods
- public array getModelImporters()
- public array getExportFields()
Hierarchy
Extends
- SilverStripe\Admin\ModelAdmin
Members
private
- $managed_models — array
- $url_segment — string
Methods
public
- getExportFields() — Overriden so that the CSV column headings have the exact field names of the DataObject
- getModelImporters() — Overridden to add duplicate checking to the bulkloader to prevent multiple records with the same 'FromBase' value.