PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.3 4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 All 66 releases
← All changes | vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +14 -0 3.0.0 → trunk View file →
@@ -1,9 +1,11 @@
1 1 <?php
2 +
2 3 namespace Composer\Installers;
3 4
4 5 class MoodleInstaller extends BaseInstaller
5 6 {
7 + /** @var array<string, string> */
6 8 protected $locations = array(
7 9 'mod' => 'mod/{$name}/',
8 10 'admin_report' => 'admin/report/{$name}/',
9 11 'atto' => 'lib/editor/atto/plugins/{$name}/',
@@ -10,8 +12,9 @@
10 12 'tool' => 'admin/tool/{$name}/',
11 13 'assignment' => 'mod/assignment/type/{$name}/',
12 14 'assignsubmission' => 'mod/assign/submission/{$name}/',
13 15 'assignfeedback' => 'mod/assign/feedback/{$name}/',
16 + 'antivirus' => 'lib/antivirus/{$name}/',
14 17 'auth' => 'auth/{$name}/',
15 18 'availability' => 'availability/condition/{$name}/',
16 19 'block' => 'blocks/{$name}/',
17 20 'booktool' => 'mod/book/tool/{$name}/',
@@ -17,29 +20,39 @@
17 20 'booktool' => 'mod/book/tool/{$name}/',
18 21 'cachestore' => 'cache/stores/{$name}/',
19 22 'cachelock' => 'cache/locks/{$name}/',
20 23 'calendartype' => 'calendar/type/{$name}/',
24 + 'communication' => 'communication/provider/{$name}/',
25 + 'customfield' => 'customfield/field/{$name}/',
21 26 'fileconverter' => 'files/converter/{$name}/',
22 27 'format' => 'course/format/{$name}/',
23 28 'coursereport' => 'course/report/{$name}/',
29 + 'contenttype' => 'contentbank/contenttype/{$name}/',
24 30 'customcertelement' => 'mod/customcert/element/{$name}/',
25 31 'datafield' => 'mod/data/field/{$name}/',
32 + 'dataformat' => 'dataformat/{$name}/',
26 33 'datapreset' => 'mod/data/preset/{$name}/',
27 34 'editor' => 'lib/editor/{$name}/',
28 35 'enrol' => 'enrol/{$name}/',
29 36 'filter' => 'filter/{$name}/',
37 + 'forumreport' => 'mod/forum/report/{$name}/',
30 38 'gradeexport' => 'grade/export/{$name}/',
31 39 'gradeimport' => 'grade/import/{$name}/',
32 40 'gradereport' => 'grade/report/{$name}/',
33 41 'gradingform' => 'grade/grading/form/{$name}/',
42 + 'h5plib' => 'h5p/h5plib/{$name}/',
34 43 'local' => 'local/{$name}/',
35 44 'logstore' => 'admin/tool/log/store/{$name}/',
36 45 'ltisource' => 'mod/lti/source/{$name}/',
37 46 'ltiservice' => 'mod/lti/service/{$name}/',
47 + 'media' => 'media/player/{$name}/',
38 48 'message' => 'message/output/{$name}/',
49 + 'mlbackend' => 'lib/mlbackend/{$name}/',
39 50 'mnetservice' => 'mnet/service/{$name}/',
51 + 'paygw' => 'payment/gateway/{$name}/',
40 52 'plagiarism' => 'plagiarism/{$name}/',
41 53 'portfolio' => 'portfolio/{$name}/',
54 + 'qbank' => 'question/bank/{$name}/',
42 55 'qbehaviour' => 'question/behaviour/{$name}/',
43 56 'qformat' => 'question/format/{$name}/',
44 57 'qtype' => 'question/type/{$name}/',
45 58 'quizaccess' => 'mod/quiz/accessrule/{$name}/',
@@ -48,8 +61,9 @@
48 61 'repository' => 'repository/{$name}/',
49 62 'scormreport' => 'mod/scorm/report/{$name}/',
50 63 'search' => 'search/engine/{$name}/',
51 64 'theme' => 'theme/{$name}/',
65 + 'tiny' => 'lib/editor/tiny/plugins/{$name}/',
52 66 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/',
53 67 'profilefield' => 'user/profile/field/{$name}/',
54 68 'webservice' => 'webservice/{$name}/',
55 69 'workshopallocation' => 'mod/workshop/allocation/{$name}/',