public function getScopeLabel(Field $field)
    {
        $showInStore = $field->showInStore();

        $showInContainer = $field->showInContainer();

        if ($showInStore == 1) {
            return $this->_scopeLabels[ContainerScopeInterface::SCOPE_STORE_CONTAINERS];
        } elseif ($showInContainer == 1) {
            return $this->_scopeLabels[ContainerScopeInterface::SCOPE_CONTAINERS];
        }

        return $this->_scopeLabels[ContainerScopeInterface::SCOPE_DEFAULT];
    }
public function getScopeLabel(Field $field)
    {
        $showInStore = $field->showInStore();

        $showInContainer = $field->showInContainer();

        if ($showInStore == 1) {
            return $this->_scopeLabels[ContainerScopeInterface::SCOPE_STORE_CONTAINERS];
        } elseif ($showInContainer == 1) {
            return $this->_scopeLabels[ContainerScopeInterface::SCOPE_CONTAINERS];
        }

        return $this->_scopeLabels[ContainerScopeInterface::SCOPE_DEFAULT];
    }
public function getScopeLabel ( Field $ field ) { $ showInStore = $ field -> showInStore ( ) ; $ showInContainer = $ field -> showInContainer ( ) ; if ( $ showInStore == 1 ) { return $ this -> _scopeLabels [ ContainerScopeInterface :: SCOPE_STORE_CONTAINERS ] ; } elseif ( $ showInContainer == 1 ) { return $ this -> _scopeLabels [ ContainerScopeInterface :: SCOPE_CONTAINERS ] ; } return $ this -> _scopeLabels [ ContainerScopeInterface :: SCOPE_DEFAULT ] ; }
Retrieve label for scope

@param Field $field The field

@return string
Retrieve label for scope