Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource 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.

field. Defaulted to false.

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 boolean false whether this is a "normal" text-entry field or a password-style
$width integer 420 the width of the input field in pixels. Default: 420.
$textarea false
$title null
$autosave false
$hidden false

Location

include/config_functions.php lines 512 to 515

Definition

 
function config_add_text_input($config_var$label$password false$width 420$textarea false$title null$autosave false$hidden=false)
    {
    return array(
'text_input'$config_var$label$password$width$textarea$title$autosave$hidden);
    }

This article was last updated 19th March 2024 10:05 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.