x\panel\type\page()

Standard control panel definition.

Table of Contents
  1. Description
  2. Example

Description

x\panel\type\page(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 'page':

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

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