1. Go to this page and download the library: Download islandora/islandora_mirador library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
islandora / islandora_mirador example snippets
/**
* @IslandoraMiradorPlugin(
* id = "machineName",
* label = @Translation("Plugin label"),
* description = @Translation("Description of the plugin .")
* )
*/
function mymodule_preprocess_mirador(&$variables) {
$variables['window_config']['allowClose'] = FALSE;
}