You are here

public function BlockTab::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/BlockTab.php, line 71

Class

BlockTab
Block tab.

Namespace

Drupal\blocktabs\Plugin\Tab

Code

public function getSummary() {
  $summary = [
    '#markup' => '(' . $this
      ->t('Block plugin id:') . $this->configuration['block_id'] . ')',
  ];
  return $summary;
}