You are here

public function TabBase::setTitle in Block Tabs 8

Sets the title for this tab.

Parameters

int $title: The title for this tab.

Return value

$this

Overrides TabInterface::setTitle

File

src/TabBase.php, line 128

Class

TabBase
Provides a base class for tabs.

Namespace

Drupal\blocktabs

Code

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