63 lines
1.4 KiB
PHP
63 lines
1.4 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @file plugins/blocks/developedBy/DevelopedByBlockPlugin.php
|
|
*
|
|
* Copyright (c) 2014-2021 Simon Fraser University
|
|
* Copyright (c) 2003-2021 John Willinsky
|
|
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
|
*
|
|
* @class DevelopedByBlockPlugin
|
|
*
|
|
* @brief Class for "developed by" block plugin
|
|
*/
|
|
|
|
namespace APP\plugins\blocks\developedBy;
|
|
|
|
use PKP\plugins\BlockPlugin;
|
|
|
|
class DevelopedByBlockPlugin extends BlockPlugin
|
|
{
|
|
/**
|
|
* Install default settings on system install.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getInstallSitePluginSettingsFile()
|
|
{
|
|
return $this->getPluginPath() . '/settings.xml';
|
|
}
|
|
|
|
/**
|
|
* Install default settings on journal creation.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getContextSpecificPluginSettingsFile()
|
|
{
|
|
return $this->getPluginPath() . '/settings.xml';
|
|
}
|
|
|
|
/**
|
|
* Get the display name of this plugin.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDisplayName()
|
|
{
|
|
return __('plugins.block.developedBy.displayName');
|
|
}
|
|
|
|
/**
|
|
* Get a description of the plugin.
|
|
*/
|
|
public function getDescription()
|
|
{
|
|
return __('plugins.block.developedBy.description');
|
|
}
|
|
}
|
|
|
|
if (!PKP_STRICT_MODE) {
|
|
class_alias('\APP\plugins\blocks\developedBy\DevelopedByBlockPlugin', '\DevelopedByBlockPlugin');
|
|
}
|