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_text_input()

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.
$password bool false Whether this is a "normal" text-entry field or a password-style field.
$width int 420 The width of the input field in pixels. Default: 420.
$textarea bool false Render as a HTML