nglasl\misdirection\MisdirectionAdmin
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class MisdirectionAdmin
extends ModelAdmin
{
- // members
- private static $managed_models = LinkMapping::class;
- private static string $menu_title = 'Misdirection';
- private static string $menu_description = 'Create, manage and test customisable link redirection mappings.';
- private static string $menu_icon_class = 'font-icon-switch';
- private static string $url_segment = 'misdirection';
- private static array $allowed_actions = ;
- // methods
- public void getEditForm()
- public void getMappingChain()
- public array getExportFields()
Hierarchy
Extends
- SilverStripe\Admin\ModelAdmin
Members
private
- $allowed_actions
- $managed_models
- $url_segment
Methods
public
- getEditForm() — Update the custom summary fields to be sortable.
- getExportFields() — Export all domain model fields, instead of display fields to allow for importing the list again
- getMappingChain() — Retrieve the JSON link mapping recursion stack for the testing interface.