function DesignTokenInterface::getScopes

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/Entity/DesignTokenInterface.php \Drupal\Core\Theme\Entity\DesignTokenInterface::getScopes()

Gets scopes with design token plugin values according to the type.

Return value

\Drupal\Core\Theme\DesignToken\DesignTokenValuePluginCollection The prepared scope collection.

1 method overrides DesignTokenInterface::getScopes()
DesignToken::getScopes in core/lib/Drupal/Core/Theme/Entity/DesignToken.php
Gets scopes with design token plugin values according to the type.

File

core/lib/Drupal/Core/Theme/Entity/DesignTokenInterface.php, line 40

Class

DesignTokenInterface
Interface for design token config entity.

Namespace

Drupal\Core\Theme\Entity

Code

public function getScopes() : DesignTokenValuePluginCollection;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.