You are here

public function CloudBlockBase::__construct in Gutenberg 8

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

CloudBlockBase constructor.

Parameters

array $block: Cloud block structure.

1 call to CloudBlockBase::__construct()
CloudBlock::__construct in modules/gutenberg_cloud/src/CloudBlock.php
CloudBlock constructor.
1 method overrides CloudBlockBase::__construct()
CloudBlock::__construct in modules/gutenberg_cloud/src/CloudBlock.php
CloudBlock constructor.

File

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

Class

CloudBlockBase
Class CloudBlockBase.

Namespace

Drupal\gutenberg_cloud

Code

public function __construct(array $block) {
  $this
    ->setConfig($block);
}