Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tiny_h5p

Namespaces

namespace  tiny_h5p
  
 
namespace  tiny_h5p\privacy
  
 

Classes

class  tiny_h5p\plugininfo
 
class  tiny_h5p\privacy\provider
 

Variables

 $capabilities
 
 $plugin = 2024041600
 
$plugin component = 'tiny_h5p'
 
$plugin version = 2024042200
 

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