Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. WidgetInterface.php

function WidgetInterface::settingsSummary

Returns a short summary for the current widget settings.

If an empty result is returned, a UI can still be provided to display a settings form in case the widget has configurable settings.

Return value

array A short summary of the widget settings.

1 method overrides WidgetInterface::settingsSummary()
WidgetBase::settingsSummary in core/lib/Drupal/Core/Field/WidgetBase.php
Returns a short summary for the current widget settings.

File

core/lib/Drupal/Core/Field/WidgetInterface.php, line 46

Class

WidgetInterface
Interface definition for field widget plugins.

Namespace

Drupal\Core\Field

Code

public function settingsSummary();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal