This commit is contained in:
Xes
2025-08-14 22:41:49 +02:00
parent 2de81ccc46
commit 8ce45119b6
39774 changed files with 4309466 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Builder;
use Sonata\AdminBundle\Admin\AdminInterface;
use Sonata\AdminBundle\Admin\FieldDescriptionCollection;
use Sonata\AdminBundle\Admin\FieldDescriptionInterface;
/**
* @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
*/
interface ListBuilderInterface extends BuilderInterface
{
/**
* @param array $options
*
* @return FieldDescriptionCollection
*/
public function getBaseList(array $options = []);
/**
* Modify a field description to display it in the list view.
*
* @param null|mixed $type
* @param FieldDescriptionInterface $fieldDescription
* @param AdminInterface $admin
*/
public function buildField($type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin);
/**
* Modify a field description and add it to the displayed columns.
*
* @param FieldDescriptionCollection $list
* @param null|mixed $type
* @param FieldDescriptionInterface $fieldDescription
* @param AdminInterface $admin
*/
public function addField(FieldDescriptionCollection $list, $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin);
}