for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Tests\Fixtures\Admin;
use Sonata\AdminBundle\Admin\AbstractAdmin;
class PostAdmin extends AbstractAdmin
{
public function setParentAssociationMapping($associationMapping): void
$this->parentAssociationMapping = $associationMapping;
}
protected function configureBatchActions(array $actions): array
$actions['foo'] = [
'label' => 'action_foo',
];
$actions['bar'] = [];
$actions['baz'] = [
'label' => 'action_baz',
'translation_domain' => 'AcmeAdminBundle',
return $actions;