original_string: protected function _getViewModeSettings()
      {
          $viewMode = $this->viewMode();
          $settings = [];
          if (!empty($this->metadata->view_modes[$viewMode])) {
              $settings = $this->metadata->view_modes[$viewMode];
          }
  
          return $settings;
      }
code: protected function _getViewModeSettings()
      {
          $viewMode = $this->viewMode();
          $settings = [];
          if (!empty($this->metadata->view_modes[$viewMode])) {
              $settings = $this->metadata->view_modes[$viewMode];
          }
  
          return $settings;
      }
code_tokens: protected function _getViewModeSettings ( ) { $ viewMode = $ this -> viewMode ( ) ; $ settings = [ ] ; if ( ! empty ( $ this -> metadata -> view_modes [ $ viewMode ] ) ) { $ settings = $ this -> metadata -> view_modes [ $ viewMode ] ; } return $ settings ; }
docstring: Gets field's View Mode's settings for the in-use View Mode.
  
  @return array
docstring_tokens: Gets field s View Mode s settings for the in - use View Mode .