Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
factor_capability

Namespaces

namespace  factor_capability
  
 
namespace  factor_capability\privacy
  
 

Classes

class  factor_capability\factor
 
class  factor_capability\privacy\provider
 

Variables

 $capabilities
 
 $enabled
 
 $plugin = 2024041600
 
$plugin component = 'factor_capability'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024042200
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= [
'factor/capability:cannotpassfactor' => [
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
],
]
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition accesslib.php:122

◆ $enabled

$enabled
Initial value:
= new admin_setting_configcheckbox('factor_capability/enabled',
new lang_string('settings:enablefactor', 'tool_mfa'),
new lang_string('settings:enablefactor_help', 'tool_mfa'), 0)
Checkbox.
Definition adminlib.php:3071
The lang_string class.
Definition moodlelib.php:10327