You are here

public function DsFieldBase::settingsSummary in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::settingsSummary()
  2. 8.3 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::settingsSummary()

Returns the summary of the chosen settings.

Parameters

array $settings: Contains the settings of the field.

Return value

array A render array containing the summary.

Overrides DsFieldInterface::settingsSummary

7 methods override DsFieldBase::settingsSummary()
BlockDescription::settingsSummary in src/Plugin/DsField/Block/BlockDescription.php
Returns the summary of the chosen settings.
DynamicCopyField::settingsSummary in src/Plugin/DsField/DynamicCopyField.php
Returns the summary of the chosen settings.
Entity::settingsSummary in src/Plugin/DsField/Entity.php
Returns the summary of the chosen settings.
Link::settingsSummary in src/Plugin/DsField/Link.php
Returns the summary of the chosen settings.
SwitchField::settingsSummary in modules/ds_extras/src/Plugin/DsField/SwitchField.php
Returns the summary of the chosen settings.

... See full list

File

src/Plugin/DsField/DsFieldBase.php, line 53

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

public function settingsSummary($settings) {
  return [];
}