You are here

public function TabBase::label in Block Tabs 8

Returns the tab label.

Return value

string The tab label.

Overrides TabInterface::label

1 call to TabBase::label()
TabBase::getSummary in src/TabBase.php
Returns a render array summarizing the configuration of the tab.

File

src/TabBase.php, line 99

Class

TabBase
Provides a base class for tabs.

Namespace

Drupal\blocktabs

Code

public function label() {
  return $this->title;
}