You are here

public static function FileLinkFormatterTrait::defaultSettings in File Link 8

Same name and namespace in other branches
  1. 2.0.x src/FileLinkFormatterTrait.php \Drupal\file_link\FileLinkFormatterTrait::defaultSettings()

File

src/FileLinkFormatterTrait.php, line 15

Class

FileLinkFormatterTrait
Provide common methods for file link formatters.

Namespace

Drupal\file_link

Code

public static function defaultSettings() {
  return [
    'format_size' => TRUE,
  ] + parent::defaultSettings();
}