public function defaultViewModeSettings($viewMode)
    {
        $handler = $this->get('handler');
        if (class_exists($handler)) {
            $handler = new $handler();

            return $handler->defaultViewModeSettings($this, $viewMode);
        }

        return [];
    }
public function defaultViewModeSettings($viewMode)
    {
        $handler = $this->get('handler');
        if (class_exists($handler)) {
            $handler = new $handler();

            return $handler->defaultViewModeSettings($this, $viewMode);
        }

        return [];
    }
public function defaultViewModeSettings ( $ viewMode ) { $ handler = $ this -> get ( 'handler' ) ; if ( class_exists ( $ handler ) ) { $ handler = new $ handler ( ) ; return $ handler -> defaultViewModeSettings ( $ this , $ viewMode ) ; } return [ ] ; }
Gets default settings for the given view-mode.

@param string $viewMode Name of the view mode for which get its default
settings values
@return array
Gets default settings for the given view - mode .