2026-06-28 17:23:28 -03:00
|
|
|
<?php
|
|
|
|
|
|
2026-06-28 17:31:42 -03:00
|
|
|
namespace Kanboard\Plugin\BulkMoveTasks;
|
2026-06-28 17:23:28 -03:00
|
|
|
|
|
|
|
|
use Kanboard\Core\Plugin\Base;
|
|
|
|
|
|
|
|
|
|
class Plugin extends Base
|
|
|
|
|
{
|
|
|
|
|
public function initialize()
|
|
|
|
|
{
|
2026-06-28 17:31:42 -03:00
|
|
|
// 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');
|
2026-06-28 17:23:28 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getPluginName()
|
|
|
|
|
{
|
2026-06-28 17:31:42 -03:00
|
|
|
return 'BulkMoveTasks';
|
2026-06-28 17:23:28 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getPluginDescription()
|
|
|
|
|
{
|
2026-06-28 17:31:42 -03:00
|
|
|
return t('Move all tasks from one board column to another in a single action.');
|
2026-06-28 17:23:28 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getPluginAuthor()
|
|
|
|
|
{
|
|
|
|
|
return 'Ruben (drbeco)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getPluginVersion()
|
|
|
|
|
{
|
2026-06-28 17:31:42 -03:00
|
|
|
return '0.2.0';
|
2026-06-28 17:23:28 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getPluginHomepage()
|
|
|
|
|
{
|
2026-06-28 17:31:42 -03:00
|
|
|
return 'https://code.beco.cc/beco/BulkMoveTasks';
|
2026-06-28 17:23:28 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getCompatibleVersion()
|
|
|
|
|
{
|
|
|
|
|
return '>=1.2.0';
|
|
|
|
|
}
|
|
|
|
|
}
|