You are here

public function TabBase::getWeight in Block Tabs 8

Returns the weight of the tab.

Return value

int|string Either the integer weight of the tab, or an empty string.

Overrides TabInterface::getWeight

1 call to TabBase::getWeight()
TabBase::getConfiguration in src/TabBase.php
Gets this plugin's configuration.

File

src/TabBase.php, line 121

Class

TabBase
Provides a base class for tabs.

Namespace

Drupal\blocktabs

Code

public function getWeight() {
  return $this->weight;
}