x\panel\type\pages()

Standard control panel definition.

Table of Contents
  1. Description
  2. Example

Description

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

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

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