‪TYPO3CMS  10.4
ModifyTreeDataEvent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
22 
27 {
28 
32  private ‪$treeData;
33 
37  private ‪$provider;
38 
40  {
41  $this->treeData = ‪$treeData;
42  $this->provider = ‪$provider;
43  }
44 
45  public function ‪getTreeData(): ‪TreeNode
46  {
47  return ‪$this->treeData;
48  }
49 
50  public function ‪setTreeData(‪TreeNode ‪$treeData): void
51  {
52  $this->treeData = ‪$treeData;
53  }
54 
56  {
57  return ‪$this->provider;
58  }
59 }
‪TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent\getTreeData
‪getTreeData()
Definition: ModifyTreeDataEvent.php:43
‪TYPO3\CMS\Core\Tree\Event
Definition: ModifyTreeDataEvent.php:18
‪TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent\$provider
‪AbstractTableConfigurationTreeDataProvider $provider
Definition: ModifyTreeDataEvent.php:35
‪TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent\__construct
‪__construct(TreeNode $treeData, AbstractTableConfigurationTreeDataProvider $provider)
Definition: ModifyTreeDataEvent.php:37
‪TYPO3\CMS\Core\Tree\TableConfiguration\AbstractTableConfigurationTreeDataProvider
Definition: AbstractTableConfigurationTreeDataProvider.php:26
‪TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent
Definition: ModifyTreeDataEvent.php:27
‪TYPO3\CMS\Backend\Tree\TreeNode
Definition: TreeNode.php:25
‪TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent\setTreeData
‪setTreeData(TreeNode $treeData)
Definition: ModifyTreeDataEvent.php:48
‪TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent\getProvider
‪getProvider()
Definition: ModifyTreeDataEvent.php:53
‪TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent\$treeData
‪TreeNode $treeData
Definition: ModifyTreeDataEvent.php:31