public function TabInterface::setWeight in Block Tabs 8
Sets the weight for this tab.
Parameters
int $weight: The weight for this tab.
Return value
$this
1 method overrides TabInterface::setWeight()
- TabBase::setWeight in src/
TabBase.php - Sets the weight for this tab.
File
- src/
TabInterface.php, line 84
Class
- TabInterface
- Defines the interface for tab.
Namespace
Drupal\blocktabsCode
public function setWeight($weight);