2 namespace TYPO3\CMS\Backend\Tree\Pagetree;
34 $this->getIndicatorProviders();
40 protected function getIndicatorProviders()
42 $providers =
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'pagetree'][
't3lib_tree_pagetree'][
'indicator'][
'providers'];
43 if (!is_array($providers)) {
46 foreach ($providers as $indicatorProvider) {
48 $indicatorProviderInstance = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($indicatorProvider);
49 if ($indicatorProviderInstance instanceof \TYPO3\CMS\Backend\Tree\Pagetree\IndicatorProviderInterface) {
50 $this->indicatorProviders[] = $indicatorProviderInstance;
62 $indicators = array();
63 foreach ($this->indicatorProviders as $indicatorProvider) {
64 $indicator = $indicatorProvider->getIndicator();
66 $indicators[] = $indicator;