x\panel\type\files()

Standard control panel definition.

Table of Contents
  1. Description
  2. Example

Description

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

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

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