Set application plugins.
<?php
return [
'application.plugins' => (array) $plugins,
];
<?php
return [
'application.plugins' => [
'disable-comments' => true,
'regenerate-thumbnails' => true,
],
];
<?php
return [
'application.plugins' => [
'disable-comments' => false,
'regenerate-thumbnails' => false,
],
];
Intervention uses activate_plugin(), which requires a path to the plugin file.
Intervention matches folder name to the plugin file name, 'disable-comments' => true
becomes 'disable-comments/disable-comments.php' => true
Should folder and file name not match, use the full path;
<?php
return [
'application.plugins' => [
'advanced-custom-fields-pro/acf.php' => true,
],
];