Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
tiny_h5p

Namespaces

namespace  tiny_h5p
  
 
namespace  tiny_h5p\privacy
  
 

Classes

class  tiny_h5p\plugininfo
 
class  tiny_h5p\privacy\provider
 

Variables

 $capabilities
 
 $plugin = 2023100400
 
$plugin component = 'tiny_h5p'
 
$plugin version = 2023100900
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= [
'tiny/h5p:addembed' => [
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'editingteacher' => CAP_ALLOW,
],
'clonepermissionsfrom' => 'atto/h5p:addembed',
]
]
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition accesslib.php:130