function DesignTokenResourceTestBase::getExpectedNormalizedEntity
File
-
core/
tests/ Drupal/ FunctionalTests/ Rest/ DesignTokenResourceTestBase.php, line 51
Class
- DesignTokenResourceTestBase
- Resource test base for the design_token entity.
Namespace
Drupal\FunctionalTests\RestCode
protected function getExpectedNormalizedEntity() {
return [
'id' => 'my_token',
'path' => 'my-token',
'type' => 'fontWeight',
'scopes' => [
':root' => 500,
],
'langcode' => 'en',
'status' => TRUE,
'dependencies' => [],
'uuid' => $this->entity
->uuid(),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.