You are here

public function BlocktabsInterface::getTab in Block Tabs 8

Returns a specific tab.

Parameters

string $tab: The tab ID.

Return value

\Drupal\blocktabs\TabInterface The tab object.

1 method overrides BlocktabsInterface::getTab()
Blocktabs::getTab in src/Entity/Blocktabs.php
Returns a specific tab.

File

src/BlocktabsInterface.php, line 40

Class

BlocktabsInterface
Provides an interface defining a blocktabs entity.

Namespace

Drupal\blocktabs

Code

public function getTab($tab);