Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

config_add_percent_range()

Description

Return a data structure that will instruct the configuration page generator functions to
add a text entry configuration variable to the setup page.

Parameters

ColumnTypeDefaultDescription
$config_var string The name of the configuration variable to be added.
$label string The user text displayed to label the text block. Usually a $lang string.
$width int 380 The width of the input field in pixels. Default: 420.
$title string null The title attribute of the element
$help_link string "" Help link to be displayed alongside the label.
$password bool Whether this is a "normal" text-entry field or a password-style field.
$textarea bool Render as a HTML