public function sbo__relationship_formatter::settingsSummary

3.x sbo__relationship_formatter.inc public sbo__relationship_formatter::settingsSummary($view_mode)

Overrides TripalFieldFormatter::settingsSummary

See also

TripalFieldFormatter::settingsSummary()

File

tripal_chado/includes/TripalFields/sbo__relationship/sbo__relationship_formatter.inc, line 42

Class

sbo__relationship_formatter

Code

public function settingsSummary($view_mode) {
  $display = $this->instance['display'][$view_mode];
  $settings = $display['settings'];

  $summary = t('Title: @title<br>Empty: @empty', 
  array(
    '@title' => $settings['title'],
    '@empty' => $settings['empty'])
  );

  return $summary;
}