Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
factor_capability

Namespaces

namespace  factor_capability
  
 
namespace  factor_capability\privacy
  
 

Classes

class  factor_capability\factor
 User capability factor class. More...
 
class  factor_capability\privacy\provider
 Privacy provider. More...
 

Variables

 $capabilities
 
 $enabled
 
 $plugin = 2023100400
 
$plugin component = 'factor_capability'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100900
 

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:3039
The lang_string class.
Definition moodlelib.php:10805