x\panel\type\blank()

Standard control panel definition.

Table of Contents
  1. Description
  2. Example

Description

x\panel\type\blank(array $_ = []): array;

Returns the standard control panel definition with no file system interaction.

Example

The returned data in the example below must be having a type property with a value of 'blank':

$_ = x\panel\type\blank();

test($_['type']); // Returns `'blank'`
Default

The easiest way to trigger the default view is to directly pass the output of this function to the $_ variable:

$GLOBALS['_']['lot'] = x\panel\type\blank()['lot'];
$GLOBALS['_']['type'] = 'blank';

x\panel\type\blank()

Standard control panel definition.