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

Description

Return a data structure that will instruct the configuration page generator functions to
add a fixed input setting to the setup page. Uses render_fixed_text_question(). Useful for options removed from the UI

Parameters

ColumnTypeDefaultDescription
$label string The user text displayed to label the text block. Usually a $lang string.
$value string The fixed text value to be displayed
$helptext string "": array { return array'fixed_input' Optional text that will be displayed below the question
* ""
the see
*/ function "no" ''
$only_modified string

Return

array Array of data that will be passed to the page generation code

Location

include/config_functions.php lines 1994 to 1997

Definition

 
function config_add_fixed_input(string $labelstring $valuestring $helptext ""): array
{
    return array(
'fixed_input'$label$value$helptext);
}

This article was last updated 28th February 2025 07:35 Europe/London time based on the source file dated 27th February 2025 17:00 Europe/London time.