x\panel\type\file()

Standard control panel definition.

Table of Contents
  1. Description
  2. Example

Description

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

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

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

x\panel\type\file()

Standard control panel definition.