/**
  * {@inheritdoc}
  */
 public function settingsSummary()
 {
     $summary = parent::settingsSummary();
     $types = $this->getTabTypes();
     $summary[] = t('Rendered as @mode', array('@mode' => $types[$this->settings['type']]));
     return $summary;
 }
 /**
  * {@inheritdoc}
  */
 public static function defaultSettings()
 {
     return array('image_style' => '') + parent::defaultSettings();
 }