You are here

public function TipPluginBase::getWeight in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::getWeight()

Returns weight of the tip.

Return value

string The weight of the tip.

Overrides TipPluginInterface::getWeight

File

core/modules/tour/src/TipPluginBase.php, line 55

Class

TipPluginBase
Defines a base tour item implementation.

Namespace

Drupal\tour

Code

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