File: /home/timetracker.panomity.com/tm.old/Form/API/TaskToolbarForm.php
<?php
/*
* This file is part of the TaskManagementBundle for Kimai 2.
* All rights reserved by Kevin Papst (www.kevinpapst.de).
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace KimaiPlugin\TaskManagementBundle\Form\API;
use KimaiPlugin\TaskManagementBundle\Form\TaskToolbarForm as BaseTaskToolbarForm;
use Symfony\Component\OptionsResolver\OptionsResolver;
class TaskToolbarForm extends BaseTaskToolbarForm
{
/**
* @param OptionsResolver $resolver
* @return void
*/
public function configureOptions(OptionsResolver $resolver)
{
parent::configureOptions($resolver);
$resolver->setDefaults([
// overwritten and changed to default "true",
// because the docs are cached without these fields otherwise
'include_user' => true,
'include_team' => true,
]);
}
}