You are here

public function CloudBlock::getPrefix in Gutenberg 8.2

Same name and namespace in other branches
  1. 8 modules/gutenberg_cloud/src/CloudBlock.php \Drupal\gutenberg_cloud\CloudBlock::getPrefix()

Defines prefix for accessing the assets.

1 call to CloudBlock::getPrefix()
CloudBlock::getAssetUrl in modules/gutenberg_cloud/src/CloudBlock.php
Get asset URL.

File

modules/gutenberg_cloud/src/CloudBlock.php, line 45

Class

CloudBlock
Class CloudBlock.

Namespace

Drupal\gutenberg_cloud

Code

public function getPrefix() {
  return $this->name . '@' . $this->version . '/';
}