src/Panel/DefaultFilterElement.php
private function loadFilterOptions()
    {
        $otherConfig = $this->getOtherConfig();
        $otherConfig->setFields([$this->getPropertyName()]);

        $filterOptions = $this
            ->getEnvironment()
            ->getDataProvider()
            ->getFilterOptions($otherConfig);

        $options = [];
        foreach ($filterOptions as $filterKey => $filterValue) {
            $options[(string) $filterKey] = $filterValue;
        }

        $this->arrFilterOptions = $options;
    }
private function loadFilterOptions()
    {
        $otherConfig = $this->getOtherConfig();
        $otherConfig->setFields([$this->getPropertyName()]);

        $filterOptions = $this
            ->getEnvironment()
            ->getDataProvider()
            ->getFilterOptions($otherConfig);

        $options = [];
        foreach ($filterOptions as $filterKey => $filterValue) {
            $options[(string) $filterKey] = $filterValue;
        }

        $this->arrFilterOptions = $options;
    }
private function loadFilterOptions ( ) { $ otherConfig = $ this -> getOtherConfig ( ) ; $ otherConfig -> setFields ( [ $ this -> getPropertyName ( ) ] ) ; $ filterOptions = $ this -> getEnvironment ( ) -> getDataProvider ( ) -> getFilterOptions ( $ otherConfig ) ; $ options = [ ] ; foreach ( $ filterOptions as $ filterKey => $ filterValue ) { $ options [ ( string ) $ filterKey ] = $ filterValue ; } $ this -> arrFilterOptions = $ options ; }
Load the filter options from the configured property.

@return void
Load the filter options from the configured property .