You are here

public function FieldStateBase::getSummary in Field States UI 8

Same name and namespace in other branches
  1. 8.2 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 92

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,
  ];
}