mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
21 lines
481 B
PHP
21 lines
481 B
PHP
<?php
|
|
|
|
namespace SilverStripe\CMS\Controllers;
|
|
|
|
use SilverStripe\Admin\LeftAndMain;
|
|
use SilverStripe\CMS\Controllers\CMSMain;
|
|
use SilverStripe\Core\Extension;
|
|
|
|
/**
|
|
* @extends Extension<LeftAndMain>
|
|
*/
|
|
class LeftAndMainBatchActionsExtension extends Extension
|
|
{
|
|
protected function updateBatchActionsForm(&$form)
|
|
{
|
|
$cmsMain = singleton(CMSMain::class);
|
|
$form->Fields()->insertAfter('Action', $cmsMain->BatchActionParameters());
|
|
return $form;
|
|
}
|
|
}
|