You are here

public function BlockContentTab::getSummary in Block Tabs 8

Returns a render array summarizing the configuration of the tab.

Return value

array A render array.

Overrides TabBase::getSummary

File

src/Plugin/Tab/BlockContentTab.php, line 31

Class

BlockContentTab
Block content tab.

Namespace

Drupal\blocktabs\Plugin\Tab

Code

public function getSummary() {
  $summary = [
    '#markup' => '(' . $this
      ->t('block uuid:') . $this->configuration['block_uuid'] . ')',
  ];
  return $summary;
}