protected function getConfigIndexEnableStatus()
    {
        $rootPagesWithIndexingOff = $this->getRootPagesWithIndexingOff();
        if (empty($rootPagesWithIndexingOff)) {
            return null;
        }

        $report = $this->getRenderedReport('SolrConfigurationStatusIndexing.html', ['pages' => $rootPagesWithIndexingOff]);
        return GeneralUtility::makeInstance(
            Status::class,
            /** @scrutinizer ignore-type */ 'Page Indexing',
            /** @scrutinizer ignore-type */ 'Indexing is disabled',
            /** @scrutinizer ignore-type */ $report,
            /** @scrutinizer ignore-type */ Status::WARNING
        );
    }
protected function getConfigIndexEnableStatus()
    {
        $rootPagesWithIndexingOff = $this->getRootPagesWithIndexingOff();
        if (empty($rootPagesWithIndexingOff)) {
            return null;
        }

        $report = $this->getRenderedReport('SolrConfigurationStatusIndexing.html', ['pages' => $rootPagesWithIndexingOff]);
        return GeneralUtility::makeInstance(
            Status::class,
            /** @scrutinizer ignore-type */ 'Page Indexing',
            /** @scrutinizer ignore-type */ 'Indexing is disabled',
            /** @scrutinizer ignore-type */ $report,
            /** @scrutinizer ignore-type */ Status::WARNING
        );
    }
protected function getConfigIndexEnableStatus ( ) { $ rootPagesWithIndexingOff = $ this -> getRootPagesWithIndexingOff ( ) ; if ( empty ( $ rootPagesWithIndexingOff ) ) { return null ; } $ report = $ this -> getRenderedReport ( 'SolrConfigurationStatusIndexing.html' , [ 'pages' => $ rootPagesWithIndexingOff ] ) ; return GeneralUtility :: makeInstance ( Status :: class , /** @scrutinizer ignore-type */ 'Page Indexing' , /** @scrutinizer ignore-type */ 'Indexing is disabled' , /** @scrutinizer ignore-type */ $ report , /** @scrutinizer ignore-type */ Status :: WARNING ) ; }
Checks whether config.index_enable is set to 1, otherwise indexing will
not work.

@return NULL|Status An error status is returned for each site root page config.index_enable = 0.
Checks whether config . index_enable is set to 1 otherwise indexing will not work .