function Group::getPath
Same name and namespace in other branches
- main core/lib/Drupal/Core/Theme/DesignToken/Group.php \Drupal\Core\Theme\DesignToken\Group::getPath()
The path of the token or group.
Return value
string The path of the token or group.
Overrides DtcgInterface::getPath
File
-
core/
lib/ Drupal/ Core/ Theme/ DesignToken/ Group.php, line 61
Class
- Group
- A group: distinguishable by not having a $value property.
Namespace
Drupal\Core\Theme\DesignTokenCode
public function getPath() : string {
return $this->parent ? $this->parent
->getPath() . '.' . $this->name : $this->name;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.