MetaModels\Filter\Setting\SimpleLookup::getLabel PHP Method

getLabel() protected method

Return the label to use.
protected getLabel ( ) : string | null
return string | null
    protected function getLabel()
    {
        if ($attribute = $this->getFilteredAttribute()) {
            // TODO: make this multilingual.
            if ($label = $this->get('label')) {
                return $label;
            }
            return $attribute->getName();
        }
        return null;
    }