You are here

protected function ViewsFieldFormatter::getDefaultArguments in Views field formatter 8

Get the default Arguments.

Return value

string[] The default arguments.

2 calls to ViewsFieldFormatter::getDefaultArguments()
ViewsFieldFormatter::settingsForm in src/Plugin/Field/FieldFormatter/ViewsFieldFormatter.php
Returns a form to configure settings for the formatter.
ViewsFieldFormatter::settingsSummary in src/Plugin/Field/FieldFormatter/ViewsFieldFormatter.php
Returns a short summary for the current formatter settings.

File

src/Plugin/Field/FieldFormatter/ViewsFieldFormatter.php, line 401

Class

ViewsFieldFormatter
Class ViewsFieldFormatter.

Namespace

Drupal\views_field_formatter\Plugin\Field\FieldFormatter

Code

protected function getDefaultArguments() : array {
  return [
    'field_value' => $this
      ->t('Field value'),
    'entity_id' => $this
      ->t('Entity ID'),
    'delta' => $this
      ->t('Delta'),
    'entity_revision_id' => $this
      ->t('Entity revision ID'),
  ];
}