You are here

public function FieldStateBase::getSummary in Field States UI 8.2

Same name and namespace in other branches
  1. 8 src/FieldStateBase.php \Drupal\field_states_ui\FieldStateBase::getSummary()

Returns a render array summarizing the configuration of the image effect.

Return value

array A render array.

Overrides FieldStateInterface::getSummary

File

src/FieldStateBase.php, line 104

Class

FieldStateBase
Provides a base class for field staes.

Namespace

Drupal\field_states_ui

Code

public function getSummary() {
  return [
    '#theme' => 'field_states_ui_summary',
    '#data' => $this->configuration,
  ];
}