You are here

public function TipPluginBase::id in Drupal 8

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

Returns id of the tip.

Return value

string The id of the tip.

Overrides TipPluginInterface::id

File

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

Class

TipPluginBase
Defines a base tour item implementation.

Namespace

Drupal\tour

Code

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