You are here

public function CloudBlockBase::getConfig in Gutenberg 8.2

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

Getter for properties related to Cloud Block config.

Return value

array Array of properties.

Overrides CloudBlockInterface::getConfig

File

modules/gutenberg_cloud/src/CloudBlockBase.php, line 151

Class

CloudBlockBase
Class CloudBlockBase.

Namespace

Drupal\gutenberg_cloud

Code

public function getConfig() {
  return [
    'name' => $this->name,
    'version' => $this->version,
    'label' => $this->label,
    'description' => $this->description,
    'screenshot' => $this->screenshot,
    'js' => $this->js,
    'edit_css' => $this->edit_css,
    'view_css' => $this->view_css,
  ];
}