Provides a central management class for event handlers and common functionality for the terms_and_conditions component.
More...
Provides a central management class for event handlers and common functionality for the terms_and_conditions component.
Definition at line 13 of file terms_and_conditions_manager.inc.
◆ setDefaults()
static TermsAndConditionsManager::setDefaults |
( |
| ) |
|
|
static |
Definition at line 20 of file terms_and_conditions_manager.inc.
22 Settings::setDefaultValue(
"terms_and_conditions",
"require_acceptance",
false, Boolean,
"Set to true to require users to accept site terms and conditions",
null,
null, 1);
23 Settings::setDefaultValue(
"terms_and_conditions",
"terms_page_identifier",
"terms", String,
"The page identifier of the page containing the terms and conditions text",
null,
null, 3);
24 Settings::setDefaultValue(
"terms_and_conditions",
"title",
"Terms And Conditions", String,
"Title for the popup dialog",
null,
null, 2);
25 Settings::setDefaultValue(
"terms_and_conditions",
"button_label",
"", String,
"The text to display on the acceptance button",
null,
null, 4);
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.
◆ TermsAndConditionsManager()
TermsAndConditionsManager::TermsAndConditionsManager |
( |
| ) |
|
The documentation for this class was generated from the following file: