Files
BulkMoveTasks/Plugin.php

46 lines
1004 B
PHP

<?php
namespace Kanboard\Plugin\BulkMoveTasks;
use Kanboard\Core\Plugin\Base;
class Plugin extends Base
{
public function initialize()
{
// Add a "Move all tasks to another column" entry to the board column
// header dropdown. The hook passes the current $column and $swimlane.
$this->template->hook->attach('template:board:column:dropdown', 'bulkMoveTasks:board/column_dropdown');
}
public function getPluginName()
{
return 'BulkMoveTasks';
}
public function getPluginDescription()
{
return t('Move all tasks from one board column to another in a single action.');
}
public function getPluginAuthor()
{
return 'Ruben (drbeco)';
}
public function getPluginVersion()
{
return '0.2.0';
}
public function getPluginHomepage()
{
return 'https://code.beco.cc/beco/BulkMoveTasks';
}
public function getCompatibleVersion()
{
return '>=1.2.0';
}
}